mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 10:39:14 +08:00
change type in binary paraId
This commit is contained in:
@ -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)
|
||||
|
||||
@ -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())
|
||||
|
||||
Reference in New Issue
Block a user