diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-01 13:39:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-01 14:19:25 +0100 |
commit | d05a9ae25e4a397834330d868b68d92ca919e33b (patch) | |
tree | 3a9702d4c56ef0bd995f97dc3cfb382953d1f6d3 /include/tools | |
parent | 2655ef2d03b786b683723e92f3c76838fa012ab6 (diff) |
Related: fdo#38838 remove UniString::AssignAscii
Change-Id: I263ef2594080ff7d47d5499c2b62e60e1689d2d6
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/string.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/tools/string.hxx b/include/tools/string.hxx index 7f0e8d94204d..5ca0047642be 100644 --- a/include/tools/string.hxx +++ b/include/tools/string.hxx @@ -180,8 +180,7 @@ public: UniString& Assign( sal_Unicode c ); inline UniString & Assign(char c) // ...but allow "Assign('a')" { return Assign(static_cast< sal_Unicode >(c)); } - UniString& AssignAscii( const sal_Char* pAsciiStr ); - UniString& AssignAscii( const sal_Char* pAsciiStr, xub_StrLen nLen ); + UniString& operator =( const UniString& rStr ) { return Assign( rStr ); } UniString& operator =( const OUString& rStr ) |