diff options
author | Yusuf Sonmez <yusufsonmez1995@gmail.com> | 2019-02-10 09:55:20 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2019-02-11 14:33:12 +0100 |
commit | 3b5dd1d49e3b5d669d020f0b268625b106c1c661 (patch) | |
tree | c270384d6b29fcec5b8f8482cbd97cf2f28a136d /basic | |
parent | 0a240b98cde34701681bb93ea5ebea84d0fffd2f (diff) |
tdf#112689: Replace chained O(U)StringBuffer::append() with operator+
Change-Id: I84fcc109087fe72cf68cf6cc1b8cf4045488ff46
Reviewed-on: https://gerrit.libreoffice.org/67601
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 553c6be7360d..e6c1a3e1c06b 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -4836,11 +4836,10 @@ void SbUnoStructRefObject::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) { // by now all properties must be established implCreateAll(); - OUStringBuffer aRet; - aRet.append("Methods of object "); - aRet.append( getDbgObjectName() ); - aRet.append( "\nNo methods found\n" ); - pVar->PutString( aRet.makeStringAndClear() ); + OUString aRet = "Methods of object " + + getDbgObjectName() + + "\nNo methods found\n"; + pVar->PutString( aRet ); } return; } |