diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-23 15:57:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-23 15:58:52 +0000 |
commit | 67f67509ff20c0d5b6e9f3557fb1e427655601ee (patch) | |
tree | cfc6a68c839e0725e2717e8a7821a24df8f2bc1c /tools/inc | |
parent | d1421ed9862eaf8e509364ce0a0a1f3af052f7c9 (diff) |
lock in ByteString gains
Diffstat (limited to 'tools/inc')
-rw-r--r-- | tools/inc/tools/string.hxx | 7 |
1 files changed, 1 insertions, 6 deletions
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; |