mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fix bug 51525
This commit is contained in:
@ -706,8 +706,11 @@ namespace XmlUtils
|
||||
std::wstring sRes;
|
||||
if (!GetAttributeIfExist(strAttributeName, sRes))
|
||||
{
|
||||
if (!GetTextIfExist(sRes))
|
||||
sRes = strDefaultValue;
|
||||
CXmlNode oTemp;
|
||||
if (GetNode(strAttributeName, oTemp))
|
||||
sRes = oTemp.GetText();
|
||||
else
|
||||
sRes = strDefaultValue;
|
||||
}
|
||||
return sRes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user