Commit 6a122d93 authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

исправлено падение записи чисел в формулах

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62534 954022d7-b5bf-4e40-9824-e11837661b57
parent 12dee7df
......@@ -221,7 +221,13 @@ namespace SimpleTypes
if ( sValue.GetLength() <= 2 )
{
m_dValue = XmlUtils::IsDigit(sValue.GetAt(0)) == false ? 0 : _wtof( sValue ) / dKoef;
try
{
m_dValue = _wtof( sValue ) / dKoef;
}
catch(...)
{
}
return;
}
......
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