diff options
author | Eike Rathke <erack@redhat.com> | 2015-07-21 00:58:21 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-07-21 01:09:10 +0200 |
commit | 2fd3560e0815b547ada7d7f6557857fe3c8678ba (patch) | |
tree | 688235508959af8366524a9a246fc664eee8bcde /sc | |
parent | 91457fb326dda7bd1fc6d9e1b3afe0667425121c (diff) |
Resolves: tdf#92448 check for numeric '.' only if sheet separator is '.'
Change-Id: I427da08eed3fc5daed2bac4d588b66a3f03fd28c
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index 0583f71b2bf6..901261b7f25b 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -2928,7 +2928,7 @@ bool ScCompiler::IsReference( const OUString& rName ) if ( ch1 == cDecSep ) return false; // 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. // But English 1.E2 or 1.E+2 is value 100, 1.E-2 is 0.01 |