diff options
author | Eike Rathke <erack@redhat.com> | 2015-07-21 00:58:21 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-09-28 10:06:46 +0200 |
commit | 838d9110d66e2c68a44b94390dc97d92019820b5 (patch) | |
tree | 5adfe177a6e8ae6ca394b8690642b426581734d2 | |
parent | b600ba0e43e8df84a8903fc72cc918ee27751794 (diff) |
Resolves: tdf#92448 check for numeric '.' only if sheet separator is '.'
Change-Id: I427da08eed3fc5daed2bac4d588b66a3f03fd28c
(cherry picked from commit 2fd3560e0815b547ada7d7f6557857fe3c8678ba)
Reviewed-on: https://gerrit.libreoffice.org/17245
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 2f9469cf81b22351e8c423bfda6387f70d873c4d)
-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 1f2e4dea2260..c0218294d84e 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -2761,7 +2761,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 |