change type in binary paraId

This commit is contained in:
Elena Subbotina
2025-10-30 18:37:46 +03:00
parent 23e9187f5a
commit f38ce7b61b
2 changed files with 2 additions and 2 deletions

View File

@ -5176,7 +5176,7 @@ int Binary_DocumentTableReader::ReadParagraph(BYTE type, long length, void* poRe
else if (c_oSerParType::ParaID == type)
{
m_oParaId.Init();
_INT64 res = m_oBufferedStream.GetLong64();
_INT64 res = m_oBufferedStream.GetULong();
m_oParaId->SetValue(res);
}
else if (c_oSerParType::TextID == type)

View File

@ -3930,7 +3930,7 @@ void BinaryDocumentTableWriter::WriteParapraph(OOX::Logic::CParagraph& par, OOX:
{
m_oBcw.m_oStream.WriteBYTE(c_oSerParType::ParaID);
nCurPos = m_oBcw.WriteItemWithLengthStart();
m_oBcw.m_oStream.WriteLONG64(par.m_oParaId->GetValue());
m_oBcw.m_oStream.WriteULONG(par.m_oParaId->GetValue());
m_oBcw.WriteItemWithLengthEnd(nCurPos);
}
if (par.m_oTextId.IsInit())