summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/filter/lotus/op.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/lotus/op.cxx b/sc/source/filter/lotus/op.cxx
index 0ce8d660ad59..4e91b98c77ff 100644
--- a/sc/source/filter/lotus/op.cxx
+++ b/sc/source/filter/lotus/op.cxx
@@ -212,7 +212,7 @@ void OP_NamedRange(LotusContext& rContext, SvStream& r, sal_uInt16 /*n*/)
static_cast<SCCOL> (nColEnd), static_cast<SCROW> (nRowEnd) );
sal_Char cBuf[sizeof(cPuffer)+1];
- if( isdigit( *cPuffer ) )
+ if( rtl::isAsciiDigit( static_cast<unsigned char>(*cPuffer) ) )
{ // first char in name is a number -> prepend 'A'
cBuf[0] = 'A';
strcpy( cBuf + 1, cPuffer ); // #100211# - checked
@@ -251,7 +251,7 @@ void OP_SymphNamedRange(LotusContext& rContext, SvStream& r, sal_uInt16 /*n*/)
static_cast<SCCOL> (nColEnd), static_cast<SCROW> (nRowEnd) );
sal_Char cBuf[sizeof(cPuffer)+1];
- if( isdigit( *cPuffer ) )
+ if( rtl::isAsciiDigit( static_cast<unsigned char>(*cPuffer) ) )
{ // first char in name is a number -> prepend 'A'
cBuf[0] = 'A';
strcpy( cBuf + 1, cPuffer ); // #100211# - checked