mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
fix bug #60361
This commit is contained in:
@ -948,6 +948,27 @@ namespace OOX
|
||||
{
|
||||
m_arrItems.push_back(new Diagram::CPt(oReader));
|
||||
}
|
||||
else if (L"mc:AlternateContent" == sName)
|
||||
{
|
||||
int nCurDepth = oReader.GetDepth();
|
||||
while (oReader.ReadNextSiblingNode(nCurDepth))
|
||||
{
|
||||
std::wstring strName = oReader.GetName();
|
||||
|
||||
if (oReader.IsEmptyNode())
|
||||
continue;
|
||||
|
||||
if (strName == L"mc:Choice")
|
||||
{
|
||||
fromXML(oReader);
|
||||
break;
|
||||
}
|
||||
else if (strName == L"mc:Fallback")
|
||||
{
|
||||
fromXML(oReader);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user