tools/inc/tools/string.hxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 5c0b18ed99e30c604c77caa86e4551a4403e5c91 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Sep 27 23:22:58 2011 +0200
Work around ambiguity introduced by previous rtl::O[U]String[Buffer] related clean up. diff --git a/tools/inc/tools/string.hxx b/tools/inc/tools/string.hxx index d976207..64564ef 100644 --- a/tools/inc/tools/string.hxx +++ b/tools/inc/tools/string.hxx @@ -459,6 +459,8 @@ public: UniString& AppendAscii( const sal_Char* pAsciiStr, xub_StrLen nLen ); UniString& operator +=( const UniString& rStr ) { return Append( rStr ); } + UniString& operator +=( const rtl::OUString& rStr ) + { return Append( UniString(rStr) ); } UniString& operator +=( const sal_Unicode* pCharStr ) { return Append( pCharStr ); } UniString& operator +=( sal_Unicode c ) _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits