diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-18 16:37:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-18 20:33:36 +0100 |
commit | 5712a06f2c6f0616df777053242803c3723bc743 (patch) | |
tree | 886e4c446171960b91c5a6a2d2be19aff5876e44 /include/tools | |
parent | removed senseless comments (diff) | |
download | core-5712a06f2c6f0616df777053242803c3723bc743.tar.gz core-5712a06f2c6f0616df777053242803c3723bc743.zip |
Related: fdo#38838 make String::Erase private
Change-Id: I0a04798a38288eaa0cd4bc729303f8549ce4081a
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/string.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/string.hxx b/include/tools/string.hxx index 2e9e1cbc09d5..99d5f4a92c03 100644 --- a/include/tools/string.hxx +++ b/include/tools/string.hxx @@ -107,6 +107,7 @@ private: StringCompare CompareTo( const UniString& rStr, xub_StrLen nLen = STRING_LEN ) const; + UniString& Erase( xub_StrLen nIndex = 0, xub_StrLen nCount = STRING_LEN ); UniString( const int* pDummy ); // not implemented: to prevent UniString( NULL ) UniString(int); // not implemented; to detect misuses of @@ -222,7 +223,6 @@ public: xub_StrLen nIndex = STRING_LEN ); UniString& Insert( sal_Unicode c, xub_StrLen nIndex = STRING_LEN ); UniString& Replace( xub_StrLen nIndex, xub_StrLen nLen, const UniString& rStr ); - UniString& Erase( xub_StrLen nIndex = 0, xub_StrLen nCount = STRING_LEN ); UniString Copy( xub_StrLen nIndex = 0, xub_StrLen nCount = STRING_LEN ) const; sal_Bool Equals( const UniString& rStr ) const; |