Kaydet (Commit) 5712a06f authored tarafından Caolán McNamara's avatar Caolán McNamara

Related: fdo#38838 make String::Erase private

Change-Id: I0a04798a38288eaa0cd4bc729303f8549ce4081a
üst 2d40520a
...@@ -107,6 +107,7 @@ private: ...@@ -107,6 +107,7 @@ private:
StringCompare CompareTo( const UniString& rStr, StringCompare CompareTo( const UniString& rStr,
xub_StrLen nLen = STRING_LEN ) const; 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( const int* pDummy ); // not implemented: to prevent UniString( NULL )
UniString(int); // not implemented; to detect misuses of UniString(int); // not implemented; to detect misuses of
...@@ -222,7 +223,6 @@ public: ...@@ -222,7 +223,6 @@ public:
xub_StrLen nIndex = STRING_LEN ); xub_StrLen nIndex = STRING_LEN );
UniString& Insert( sal_Unicode c, 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& 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; UniString Copy( xub_StrLen nIndex = 0, xub_StrLen nCount = STRING_LEN ) const;
sal_Bool Equals( const UniString& rStr ) const; sal_Bool Equals( const UniString& rStr ) const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment