[Libreoffice-commits] core.git: basic/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Feb 11 08:10:15 UTC 2019
basic/source/classes/sbunoobj.cxx | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
New commits:
commit 3e214676b95ac384ae938f7baf7a4edbd4f5a7f3
Author: Muzaffer Kadir YILMAZ <muzafferkadiryilmaz at gmail.com>
AuthorDate: Sun Feb 10 10:35:21 2019 +0300
Commit: Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Mon Feb 11 09:09:52 2019 +0100
tdf#112689: Replace chained O(U)StringBuffer::append() with operator+
Change-Id: Iba19864313dc5039f5ca27be3d0c68785612346a
Reviewed-on: https://gerrit.libreoffice.org/67602
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 045204c543c6..0449b2e4f40c 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -4821,11 +4821,10 @@ void SbUnoStructRefObject::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
// Id == -1: Display implemented interfaces according the ClassProvider
if( nId == -1 ) // Property ID_DBG_SUPPORTEDINTERFACES"
{
- OUStringBuffer aRet;
- aRet.append( ID_DBG_SUPPORTEDINTERFACES );
- aRet.append( " not available.\n(TypeClass is not TypeClass_INTERFACE)\n" );
+ OUString aRet = OUStringLiteral( ID_DBG_SUPPORTEDINTERFACES )
+ + " not available.\n(TypeClass is not TypeClass_INTERFACE)\n";
- pVar->PutString( aRet.makeStringAndClear() );
+ pVar->PutString( aRet );
}
// Id == -2: output properties
else if( nId == -2 ) // Property ID_DBG_PROPERTIES
More information about the Libreoffice-commits
mailing list