From 67f67509ff20c0d5b6e9f3557fb1e427655601ee Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 23 Feb 2012 15:57:11 +0000 Subject: lock in ByteString gains --- tools/inc/tools/string.hxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tools/inc') diff --git a/tools/inc/tools/string.hxx b/tools/inc/tools/string.hxx index c232c07ff43e..7fe2c1094eef 100644 --- a/tools/inc/tools/string.hxx +++ b/tools/inc/tools/string.hxx @@ -156,6 +156,7 @@ private: void Assign(int); // not implemented; to detect misuses of // Assign(sal_Char) ByteString& Assign( const sal_Char* pCharStr, xub_StrLen nLen ); //not implemented, to detect use of removed methods without compiler making something to fit + ByteString& Assign( const sal_Char* pCharStr ); //not implemented, to detect use of removed methods without compiler making something to fit ByteString& operator =(const sal_Char); //not implemented, to detect use of removed methods without compiler making something to fit ByteString& Assign(sal_Char); //not implemented, to detect use of removed methods without compiler making something to fit @@ -187,7 +188,6 @@ public: ByteString& Assign( const ByteString& rStr ); ByteString& Assign( const rtl::OString& rStr ); - ByteString& Assign( const sal_Char* pCharStr ); ByteString& operator =( const ByteString& rStr ) { return Assign( rStr ); } ByteString& operator =( const rtl::OString& rStr ) @@ -220,16 +220,11 @@ public: StringCompare CompareIgnoreCaseToAscii( const sal_Char* pCharStr, xub_StrLen nLen = STRING_LEN ) const; sal_Bool Equals( const sal_Char* pCharStr ) const; - sal_Bool EqualsIgnoreCaseAscii( const sal_Char* pCharStr ) const; xub_StrLen Search( sal_Char c, xub_StrLen nIndex = 0 ) const; xub_StrLen Search( const ByteString& rStr, xub_StrLen nIndex = 0 ) const; xub_StrLen Search( const sal_Char* pCharStr, xub_StrLen nIndex = 0 ) const; - xub_StrLen SearchAndReplace( const ByteString& rStr, const ByteString& rRepStr, - xub_StrLen nIndex = 0 ); - xub_StrLen SearchAndReplace( const sal_Char* pCharStr, const ByteString& rRepStr, - xub_StrLen nIndex = 0 ); void SearchAndReplaceAll( sal_Char c, sal_Char cRep ); ByteString GetToken( xub_StrLen nToken, sal_Char cTok = ';' ) const; -- cgit