From 2fd3560e0815b547ada7d7f6557857fe3c8678ba Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Tue, 21 Jul 2015 00:58:21 +0200 Subject: Resolves: tdf#92448 check for numeric '.' only if sheet separator is '.' Change-Id: I427da08eed3fc5daed2bac4d588b66a3f03fd28c --- sc/source/core/tool/compiler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3