diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-28 01:03:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-29 09:56:07 +0100 |
commit | 0ab7b0f6e724a3a5a7eadf79f9efc71e0fc1acf0 (patch) | |
tree | 348ba07f193acf41c16a1d4b2aba1a94e6a8729a /sd | |
parent | IsLowerAscii and IsUpperAscii are subsets of IsAlphaAscii, reduce (diff) | |
download | core-0ab7b0f6e724a3a5a7eadf79f9efc71e0fc1acf0.tar.gz core-0ab7b0f6e724a3a5a7eadf79f9efc71e0fc1acf0.zip |
tweak for change
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(); |