summaryrefslogtreecommitdiff
path: root/tools/source/string/tstring.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/string/tstring.cxx')
-rw-r--r--tools/source/string/tstring.cxx23
1 files changed, 0 insertions, 23 deletions
diff --git a/tools/source/string/tstring.cxx b/tools/source/string/tstring.cxx
index 833e0d4fa9c7..5b3d41de6265 100644
--- a/tools/source/string/tstring.cxx
+++ b/tools/source/string/tstring.cxx
@@ -152,29 +152,6 @@ sal_Bool ByteString::IsAlphaAscii() const
return sal_True;
}
-// -----------------------------------------------------------------------
-
-sal_Bool ByteString::IsAlphaNumericAscii() 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 >= 97) && (*pStr <= 122)) ||
- ((*pStr >= 65) && (*pStr <= 90)) ||
- ((*pStr >= 48) && (*pStr <= 57))) )
- return sal_False;
-
- ++pStr,
- ++nIndex;
- }
-
- return sal_True;
-}
-
void STRING::SearchAndReplaceAll( const STRCODE* pCharStr, const STRING& rRepStr )
{
DBG_CHKTHIS( STRING, DBGCHECKSTRING );