summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-16 08:36:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-16 13:59:30 +0100
commitd69d6f4dc8eef7cd85929a2655c523d2f17263e0 (patch)
tree1a598169dbfa6152061f3fa0b5383f9a1392a096 /tools
parentcallcatcher: newly unused ResId related methods (diff)
downloadcore-d69d6f4dc8eef7cd85929a2655c523d2f17263e0.tar.gz
core-d69d6f4dc8eef7cd85929a2655c523d2f17263e0.zip
Related: fdo#38838 ToInt64 and a EqualsIgnoreCaseAscii variant are now unused
Change-Id: I2a2cc56cf005f564c798b8d43ef7e8c4b7f9eeff
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/impstrg.hxx1
-rw-r--r--tools/source/ref/errinf.cxx1
-rw-r--r--tools/source/string/tustring.cxx40
3 files changed, 0 insertions, 42 deletions
diff --git a/tools/inc/impstrg.hxx b/tools/inc/impstrg.hxx
index 1db5ea730048..b7fc086434dc 100644
--- a/tools/inc/impstrg.hxx
+++ b/tools/inc/impstrg.hxx
@@ -20,7 +20,6 @@
#define _IMPSTRG_HXX
#include <tools/tools.h>
-#include <tools/string.hxx>
// Debug methode for Strings
diff --git a/tools/source/ref/errinf.cxx b/tools/source/ref/errinf.cxx
index 057cc8aa1b69..be016b38ba79 100644
--- a/tools/source/ref/errinf.cxx
+++ b/tools/source/ref/errinf.cxx
@@ -21,7 +21,6 @@
#include <tools/shl.hxx>
#include <tools/debug.hxx>
#include <tools/errinf.hxx>
-#include <tools/string.hxx>
#include <rtl/strbuf.hxx>
class ErrorHandler;
diff --git a/tools/source/string/tustring.cxx b/tools/source/string/tustring.cxx
index 4d3d8c79f41a..6487eb7628c7 100644
--- a/tools/source/string/tustring.cxx
+++ b/tools/source/string/tustring.cxx
@@ -66,13 +66,6 @@ sal_Int32 UniString::ToInt32() const
return rtl_ustr_toInt32( mpData->maStr, 10 );
}
-sal_Int64 UniString::ToInt64() const
-{
- DBG_CHKTHIS( UniString, DbgCheckUniString );
-
- return rtl_ustr_toInt64( mpData->maStr, 10 );
-}
-
xub_StrLen STRING::SearchChar( const STRCODE* pChars, xub_StrLen nIndex ) const
{
DBG_CHKTHIS( STRING, DBGCHECKSTRING );
@@ -650,39 +643,6 @@ xub_StrLen STRING::SearchAndReplace( const STRING& rStr, const STRING& rRepStr,
return nSPos;
}
-static sal_Int32 ImplStringICompare( const STRCODE* pStr1, const STRCODE* pStr2 )
-{
- sal_Int32 nRet;
- STRCODE c1;
- STRCODE c2;
- do
- {
- // Convert char if between 'A' and 'Z'
- c1 = *pStr1;
- c2 = *pStr2;
- if ( (c1 >= 65) && (c1 <= 90) )
- c1 += 32;
- if ( (c2 >= 65) && (c2 <= 90) )
- c2 += 32;
- nRet = ((sal_Int32)((STRCODEU)c1))-((sal_Int32)((STRCODEU)c2));
- if ( nRet != 0 )
- break;
-
- ++pStr1,
- ++pStr2;
- }
- while ( c2 );
-
- return nRet;
-}
-
-sal_Bool STRING::EqualsIgnoreCaseAscii( const STRCODE* pCharStr ) const
-{
- DBG_CHKTHIS( STRING, DBGCHECKSTRING );
-
- return (ImplStringICompare( mpData->maStr, pCharStr ) == 0);
-}
-
STRING& STRING::Assign( const STRCODE* pCharStr )
{
DBG_CHKTHIS( STRING, DBGCHECKSTRING );