summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-17 09:21:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-17 16:52:11 +0100
commitd1563b818d335495a5591f5fd491fee77b47c93d (patch)
tree271c92c466fe0b2d0e60ae5f0be01f646999b590 /include/tools
parent63691a62c8695889144841abf8a32d52535ae671 (diff)
Related: fdo#38838 make String::CompareTo private
Change-Id: Ibb17bb9e5df9fa9cf9abc4c05dc6ae8fa15b4058
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/string.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/tools/string.hxx b/include/tools/string.hxx
index f8a9d88df906..ed3f42ea80cc 100644
--- a/include/tools/string.hxx
+++ b/include/tools/string.hxx
@@ -105,6 +105,9 @@ private:
TOOLS_DLLPRIVATE inline void ImplCopyData();
TOOLS_DLLPRIVATE inline sal_Unicode * ImplCopyStringData(sal_Unicode *);
+ StringCompare CompareTo( const UniString& rStr,
+ xub_StrLen nLen = STRING_LEN ) const;
+
UniString( const int* pDummy ); // not implemented: to prevent UniString( NULL )
UniString(int); // not implemented; to detect misuses of
// UniString(sal_Unicode)
@@ -222,8 +225,6 @@ public:
UniString& Erase( xub_StrLen nIndex = 0, xub_StrLen nCount = STRING_LEN );
UniString Copy( xub_StrLen nIndex = 0, xub_StrLen nCount = STRING_LEN ) const;
- StringCompare CompareTo( const UniString& rStr,
- xub_StrLen nLen = STRING_LEN ) const;
sal_Bool Equals( const UniString& rStr ) const;
sal_Bool Equals( const UniString& rStr,
xub_StrLen nIndex, xub_StrLen nLen ) const;