diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-17 17:01:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-18 11:11:49 +0100 |
commit | 13f383ac919acb36f54c5cf211954a8c032837b4 (patch) | |
tree | e174ecb67e28edca273b575aa9f2c88f57a33113 /include/tools | |
parent | Check for minimum version of flex (2.5.35) (diff) | |
download | core-13f383ac919acb36f54c5cf211954a8c032837b4.tar.gz core-13f383ac919acb36f54c5cf211954a8c032837b4.zip |
Related: fdo#38838 remove String::GetToken
Change-Id: Ic5307816dd3f0c74f10eb8a15910a1674713bf9c
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/string.hxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/tools/string.hxx b/include/tools/string.hxx index ed3f42ea80cc..16f28dbe4eaf 100644 --- a/include/tools/string.hxx +++ b/include/tools/string.hxx @@ -234,9 +234,6 @@ public: xub_StrLen Search( sal_Unicode c, xub_StrLen nIndex = 0 ) const; xub_StrLen Search( const UniString& rStr, xub_StrLen nIndex = 0 ) const; - UniString GetToken( xub_StrLen nToken, sal_Unicode cTok, sal_Int32& rIndex ) const; - UniString GetToken( xub_StrLen nToken, sal_Unicode cTok = ';' ) const; - const sal_Unicode* GetBuffer() const { return mpData->maStr; } friend sal_Bool operator == ( const UniString& rStr1, const UniString& rStr2 ) @@ -258,12 +255,6 @@ inline UniString UniString::Copy( xub_StrLen nIndex, xub_StrLen nCount ) const return UniString( *this, nIndex, nCount ); } -inline UniString UniString::GetToken( xub_StrLen nToken, sal_Unicode cTok ) const -{ - sal_Int32 nTempPos = 0; - return GetToken( nToken, cTok, nTempPos ); -} - template< typename charT, typename traits > std::basic_ostream<charT, traits> & operator <<( std::basic_ostream<charT, traits> & stream, UniString const & string) |