Kaydet (Commit) 68455c20 authored tarafından Eike Rathke's avatar Eike Rathke

set string conversion error also at interpreter if available

Change-Id: Idedb9192938a01ecfda3dd93e69c16a896801fd7
üst f219bd4c
...@@ -77,7 +77,10 @@ double convertStringToValue( ScInterpreter* pErrorInterpreter, const OUString& r ...@@ -77,7 +77,10 @@ double convertStringToValue( ScInterpreter* pErrorInterpreter, const OUString& r
short nCurFmtType = 0; short nCurFmtType = 0;
double fValue = pErrorInterpreter->ConvertStringToValue( rStr, nError, nCurFmtType); double fValue = pErrorInterpreter->ConvertStringToValue( rStr, nError, nCurFmtType);
if (nError) if (nError)
{
pErrorInterpreter->SetError( nError);
return formula::CreateDoubleError( nError); return formula::CreateDoubleError( nError);
}
return fValue; return fValue;
} }
return formula::CreateDoubleError( formula::errNoValue); return formula::CreateDoubleError( formula::errNoValue);
......
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