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>
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 553c6be..e6c1a3e 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;
}