basic/source/classes/sbunoobj.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
New commits: commit 3b5dd1d49e3b5d669d020f0b268625b106c1c661 Author: Yusuf Sonmez <yusufsonmez1...@gmail.com> AuthorDate: Sun Feb 10 09:55:20 2019 +0300 Commit: Muhammet Kara <muhammet.k...@collabora.com> CommitDate: Mon Feb 11 14:33:12 2019 +0100 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.k...@collabora.com> 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; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits