summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/compiler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r--sc/source/core/tool/compiler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index dcd9f1e58280..ee2bd8034a17 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -4043,7 +4043,7 @@ void ScCompiler::AutoCorrectParsedSymbol()
OUString aOld( aRef[j] );
OUString aStr2;
const sal_Unicode* p = aRef[j].getStr();
- while ( *p && CharClass::isAsciiNumeric( OUString(*p) ) )
+ while ( *p && rtl::isAsciiDigit( *p ) )
aStr2 += OUStringLiteral1(*p++);
aRef[j] = OUString( p );
aRef[j] += aStr2;