summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-16 08:54:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-16 11:59:48 +0100
commit255cfbbeaa090fd7a06130e2b621cb27ae9baca4 (patch)
treef3600726a5d25b9743f77df1728082f528224fcc /include
parent0522b84769922218cc1e1c9c7baa16e9fad77538 (diff)
Related: fdo#38838 remove unused String::Append varients
Change-Id: I158c171d39756d1949427b3a45d685a194d9fb63
Diffstat (limited to 'include')
-rw-r--r--include/tools/string.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/tools/string.hxx b/include/tools/string.hxx
index 74288fbfa271..796971ef2942 100644
--- a/include/tools/string.hxx
+++ b/include/tools/string.hxx
@@ -133,10 +133,15 @@ private:
TOOLS_DLLPRIVATE UniString( const sal_Unicode* pCharStr, xub_StrLen nLen );
TOOLS_DLLPRIVATE UniString( sal_Unicode c );
TOOLS_DLLPRIVATE UniString& Assign( const sal_Unicode* pCharStr, xub_StrLen nLen );
+ TOOLS_DLLPRIVATE UniString& Append( const sal_Unicode* pCharStr );
+ TOOLS_DLLPRIVATE UniString& Append( const sal_Unicode* pCharStr, xub_StrLen nLen );
TOOLS_DLLPRIVATE UniString& Expand( xub_StrLen nCount, sal_Unicode cExpandChar );
TOOLS_DLLPRIVATE sal_Bool Equals( const sal_Unicode* pCharStr,
xub_StrLen nIndex, xub_StrLen nLen ) const;
TOOLS_DLLPRIVATE xub_StrLen Search( const sal_Unicode* pCharStr, xub_StrLen nIndex = 0 ) const;
+
+ TOOLS_DLLPRIVATE UniString& operator +=( const sal_Unicode* pCharStr );
+
public:
UniString();
UniString( const ResId& rResId );
@@ -191,8 +196,6 @@ public:
{ return operator =(static_cast< sal_Unicode >(c)); }
UniString& Append( const UniString& rStr );
- UniString& Append( const sal_Unicode* pCharStr );
- UniString& Append( const sal_Unicode* pCharStr, xub_StrLen nLen );
UniString& Append( sal_Unicode c );
inline UniString & Append(char c) // ...but allow "Append('a')"
{ return Append(static_cast< sal_Unicode >(c)); }
@@ -200,8 +203,6 @@ public:
{ return Append( rStr ); }
UniString& operator +=( const OUString& rStr )
{ return Append( UniString(rStr) ); }
- UniString& operator +=( const sal_Unicode* pCharStr )
- { return Append( pCharStr ); }
UniString& operator +=( sal_Unicode c )
{ return Append( c ); }
inline UniString & operator +=(char c) // ...but allow "+= 'a'"