summaryrefslogtreecommitdiff
path: root/tools/source/string
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-29 00:31:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-29 09:56:08 +0100
commitde82a40f84c69081a517617989c344ec9597cb45 (patch)
tree6b9c15c67b11db681e6e8417b62efdd0a98b013a /tools/source/string
parent313332e76bd17c0a5a6bd67c0abc467877948a3a (diff)
callcatcher: drop various unused methods
Diffstat (limited to 'tools/source/string')
-rw-r--r--tools/source/string/tstring.cxx42
1 files changed, 0 insertions, 42 deletions
diff --git a/tools/source/string/tstring.cxx b/tools/source/string/tstring.cxx
index f24f4ea90f44..ec74b249fd0f 100644
--- a/tools/source/string/tstring.cxx
+++ b/tools/source/string/tstring.cxx
@@ -88,48 +88,6 @@ xub_StrLen ImplStringLen( const sal_Unicode* pStr )
#include <strimp.cxx>
#include <strcvt.cxx>
-// -----------------------------------------------------------------------
-
-sal_Bool ByteString::IsLowerAscii() 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 >= 65) && (*pStr <= 90) )
- return sal_False;
-
- ++pStr,
- ++nIndex;
- }
-
- return sal_True;
-}
-
-// -----------------------------------------------------------------------
-
-sal_Bool ByteString::IsUpperAscii() 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) )
- return sal_False;
-
- ++pStr,
- ++nIndex;
- }
-
- return sal_True;
-}
-
void STRING::SearchAndReplaceAll( const STRCODE* pCharStr, const STRING& rRepStr )
{
DBG_CHKTHIS( STRING, DBGCHECKSTRING );