diff options
Diffstat (limited to 'tools/source/string')
-rw-r--r-- | tools/source/string/tstring.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/source/string/tstring.cxx b/tools/source/string/tstring.cxx index 40310cf9591d..e0872ee66049 100644 --- a/tools/source/string/tstring.cxx +++ b/tools/source/string/tstring.cxx @@ -163,27 +163,6 @@ sal_Bool ByteString::IsAlphaAscii() const // ----------------------------------------------------------------------- -sal_Bool ByteString::IsNumericAscii() const -{ - DBG_CHKTHIS( ByteString, DbgCheckByteString ); - - sal_Int32 nIndex = 0; - sal_Int32 nLen = mpData->mnLen; - const sal_Char* pStr = mpData->maStr; - while ( nIndex < nLen ) - { - if ( !((*pStr >= 48) && (*pStr <= 57)) ) - return sal_False; - - ++pStr, - ++nIndex; - } - - return sal_True; -} - -// ----------------------------------------------------------------------- - sal_Bool ByteString::IsAlphaNumericAscii() const { DBG_CHKTHIS( ByteString, DbgCheckByteString ); |