Commit b0834afd authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

doct renderer linux new scheme

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@64051 954022d7-b5bf-4e40-9824-e11837661b57
parent 7f7665db
......@@ -513,7 +513,16 @@ namespace XmlUtils
{
std::wstring sText;
if (oTemp.GetTextIfExist(sText))
nRes = std::stoi(str);
{
try
{
nRes = std::stoi(sText);
}
catch (...)
{
nRes = nDef;
}
}
}
return nRes;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment