Kaydet (Commit) 21be4e09 authored tarafından Eike Rathke's avatar Eike Rathke Kaydeden (comit) Markus Mohrhard

Resolves: tdf#92448 check for numeric '.' only if sheet separator is '.'

Change-Id: I427da08eed3fc5daed2bac4d588b66a3f03fd28c
(cherry picked from commit 2fd3560e)
Reviewed-on: https://gerrit.libreoffice.org/17244Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst b820d868
...@@ -2929,7 +2929,7 @@ bool ScCompiler::IsReference( const OUString& rName ) ...@@ -2929,7 +2929,7 @@ bool ScCompiler::IsReference( const OUString& rName )
if ( ch1 == cDecSep ) if ( ch1 == cDecSep )
return false; return false;
// Who was that imbecile introducing '.' as the sheet name separator!?! // Who was that imbecile introducing '.' as the sheet name separator!?!
if ( rtl::isAsciiDigit( ch1 ) ) if ( rtl::isAsciiDigit( ch1 ) && pConv->getSpecialSymbol( Convention::SHEET_SEPARATOR) == '.' )
{ {
// Numerical sheet name is valid. // Numerical sheet name is valid.
// But English 1.E2 or 1.E+2 is value 100, 1.E-2 is 0.01 // But English 1.E2 or 1.E+2 is value 100, 1.E-2 is 0.01
......
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