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

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62534 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
Elen.Subbotina
2015-05-14 14:56:04 +00:00
committed by Alexander Trofimov
parent 12dee7dfc5
commit 6a122d93d7

View File

@ -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;
}