[Libreoffice-commits] core.git: extensions/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Feb 19 16:30:24 UTC 2019
extensions/source/propctrlr/eformshelper.cxx | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
New commits:
commit 4d6c45c80ae37e2b92f37543329799e8c60f6021
Author: Salih Sariyar <994.salih at gmail.com>
AuthorDate: Mon Feb 18 15:52:47 2019 +0300
Commit: Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Tue Feb 19 17:30:00 2019 +0100
tdf#112689:Replace chained O(U)StringBuffer::append() with operator+
Change-Id: I6e80e83fcdd596f641bce9b246aa634dd0cbae09
Reviewed-on: https://gerrit.libreoffice.org/67966
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>
diff --git a/extensions/source/propctrlr/eformshelper.cxx b/extensions/source/propctrlr/eformshelper.cxx
index f83d4574899e..00408ddd57f6 100644
--- a/extensions/source/propctrlr/eformshelper.cxx
+++ b/extensions/source/propctrlr/eformshelper.cxx
@@ -57,12 +57,10 @@ namespace pcr
OUString composeModelElementUIName( const OUString& _rModelName, const OUString& _rElementName )
{
- OUStringBuffer aBuffer;
- aBuffer.append( "[" );
- aBuffer.append( _rModelName );
- aBuffer.append( "] " );
- aBuffer.append( _rElementName );
- return aBuffer.makeStringAndClear();
+ OUString a = "["
+ + _rModelName + "] "
+ + _rElementName;
+ return a;
}
}
More information about the Libreoffice-commits
mailing list