mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
[x2t] Remove LvlRestart stubs
This commit is contained in:
@ -1417,7 +1417,7 @@ public:
|
||||
oWriter.WriteString(L"<w:numFmt w:val=\"" + sFormat + L"\"/>");
|
||||
}
|
||||
}
|
||||
if(bRestart && 0 == Restart)
|
||||
if(bRestart)
|
||||
{
|
||||
oWriter.WriteString(L"<w:lvlRestart w:val=\"" + std::to_wstring(Restart) + L"\"/>");
|
||||
}
|
||||
|
||||
@ -2915,12 +2915,9 @@ namespace BinDocxRW
|
||||
const ComplexTypes::Word::CDecimalNumber& oVal = lvl.m_oLvlRestart.get();
|
||||
if(oVal.m_oVal.IsInit())
|
||||
{
|
||||
int nVal = oVal.m_oVal.get().GetValue();
|
||||
if(0 != nVal)
|
||||
nVal = -1;
|
||||
m_oBcw.m_oStream.WriteBYTE(c_oSerNumTypes::lvl_Restart);
|
||||
m_oBcw.m_oStream.WriteBYTE(c_oSerPropLenType::Long);
|
||||
m_oBcw.m_oStream.WriteLONG(nVal);
|
||||
m_oBcw.m_oStream.WriteLONG(oVal.m_oVal.get().GetValue());
|
||||
}
|
||||
}
|
||||
//Start
|
||||
|
||||
Reference in New Issue
Block a user