summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/tool/address.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/address.cxx b/sc/source/core/tool/address.cxx
index 2b781e92d191..4bd996409f4b 100644
--- a/sc/source/core/tool/address.cxx
+++ b/sc/source/core/tool/address.cxx
@@ -1152,7 +1152,7 @@ static sal_uInt16 lcl_ScAddress_Parse_OOo( const sal_Unicode* p, ScDocument* pDo
else
nBits = 0;
- if( nCol > MAXCOL || rtl::isAsciiAlpha( *p ) )
+ if (nCol > MAXCOL || (*p && *p != '$' && !rtl::isAsciiDigit( *p )))
nBits = 0;
nRes |= nBits;
if( !nBits )