summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-28 01:03:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-29 09:56:07 +0100
commit0ab7b0f6e724a3a5a7eadf79f9efc71e0fc1acf0 (patch)
tree348ba07f193acf41c16a1d4b2aba1a94e6a8729a /sc
parent5c3424f471f4683a8bfb6ee774ddb4f20cb17800 (diff)
tweak for change
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/inputwin.cxx2
-rw-r--r--sc/source/ui/unoobj/docuno.cxx2
-rw-r--r--sc/source/ui/view/tabvwsh3.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index e8edcbed86ed..005f6c5ee126 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -1790,7 +1790,7 @@ ScNameInputType lcl_GetInputType( const String& rText )
eRet = SC_NAME_INPUT_NAMEDRANGE;
else if ( aRangeUtil.MakeRangeFromName( rText, pDoc, nTab, aRange, RUTL_DBASE, eConv ) )
eRet = SC_NAME_INPUT_DATABASE;
- else if ( comphelper::string::isAsciiDecimalString( rText ) &&
+ else if ( comphelper::string::isdigitAsciiString( rText ) &&
( nNumeric = rText.ToInt32() ) > 0 && nNumeric <= MAXROW+1 )
eRet = SC_NAME_INPUT_ROW;
else if ( pDoc->GetTable( rText, nNameTab ) )
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 24e3d5c90da3..acc443d9bfc5 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -702,7 +702,7 @@ bool lcl_ParseTarget( const String& rTarget, ScRange& rTargetRange, Rectangle& r
{
bRangeValid = true; // named range or database range
}
- else if ( comphelper::string::isAsciiDecimalString(rTarget) &&
+ else if ( comphelper::string::isdigitAsciiString(rTarget) &&
( nNumeric = rTarget.ToInt32() ) > 0 && nNumeric <= MAXROW+1 )
{
// row number is always mapped to cell A(row) on the same sheet
diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx
index 06265d49e6a4..cc19a93cf674 100644
--- a/sc/source/ui/view/tabvwsh3.cxx
+++ b/sc/source/ui/view/tabvwsh3.cxx
@@ -328,7 +328,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq )
}
}
- if ( !(nResult & SCA_VALID) && comphelper::string::isAsciiDecimalString(aAddress) )
+ if ( !(nResult & SCA_VALID) && comphelper::string::isdigitAsciiString(aAddress) )
{
sal_Int32 nNumeric = aAddress.ToInt32();
if ( nNumeric > 0 && nNumeric <= MAXROW+1 )