diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/ppt/pptin.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/dlg/tpoption.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx index 5a441b4ef611..0f4c8824758f 100644 --- a/sd/source/filter/ppt/pptin.cxx +++ b/sd/source/filter/ppt/pptin.cxx @@ -446,7 +446,7 @@ sal_Bool ImplSdPPTImport::Import() // first pass, searching for a SlideId for( nToken = 0; nToken < nTokenCount; nToken++ ) { - if (comphelper::string::isAsciiDecimalString(aStringAry[nToken])) + if (comphelper::string::isdigitAsciiString(aStringAry[nToken])) { sal_Int32 nNumber = aStringAry[ nToken ].toInt32(); if ( nNumber & ~0xff ) @@ -484,7 +484,7 @@ sal_Bool ImplSdPPTImport::Import() { // third pass, searching for a slide number for ( nToken = 0; nToken < nTokenCount; nToken++ ) { - if (comphelper::string::isAsciiDecimalString(aStringAry[nToken])) + if (comphelper::string::isdigitAsciiString(aStringAry[nToken])) { sal_Int32 nNumber = aStringAry[ nToken ].toInt32(); if ( ( nNumber & ~0xff ) == 0 ) diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx index e12cd976ea7c..ca7790e94f9d 100644 --- a/sd/source/ui/dlg/tpoption.cxx +++ b/sd/source/ui/dlg/tpoption.cxx @@ -704,7 +704,7 @@ sal_Bool SdTpOptionsMisc::SetScale( const String& aScale, sal_Int32& rX, sal_Int return( sal_False ); rtl::OUString aTmp(aScale.GetToken( 0, TOKEN )); - if (!comphelper::string::isAsciiDecimalString(aTmp)) + if (!comphelper::string::isdigitAsciiString(aTmp)) return sal_False; rX = (long) aTmp.toInt32(); @@ -712,7 +712,7 @@ sal_Bool SdTpOptionsMisc::SetScale( const String& aScale, sal_Int32& rX, sal_Int return( sal_False ); aTmp = aScale.GetToken( 1, TOKEN ); - if (!comphelper::string::isAsciiDecimalString(aTmp)) + if (!comphelper::string::isdigitAsciiString(aTmp)) return sal_False; rY = (long) aTmp.toInt32(); |