mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
исправлено падение записи чисел в формулах
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62534 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander Trofimov
parent
12dee7dfc5
commit
6a122d93d7
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user