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/source/ui/dlg/tpoption.cxx | |
parent | 5c3424f471f4683a8bfb6ee774ddb4f20cb17800 (diff) |
tweak for change
Diffstat (limited to 'sd/source/ui/dlg/tpoption.cxx')
-rw-r--r-- | sd/source/ui/dlg/tpoption.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |