summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/sbx/sbxobj.cxx')
-rw-r--r--basic/source/sbx/sbxobj.cxx12
1 files changed, 3 insertions, 9 deletions
diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx
index 9cdd7777aa0f..29803adc280b 100644
--- a/basic/source/sbx/sbxobj.cxx
+++ b/basic/source/sbx/sbxobj.cxx
@@ -695,9 +695,7 @@ static bool CollectAttrs( const SbxBase* p, OUString& rRes )
}
if( !aAttrs.isEmpty() )
{
- rRes = " (";
- rRes += aAttrs;
- rRes += ")";
+ rRes = " (" + aAttrs + ")";
return true;
}
else
@@ -763,9 +761,7 @@ void SbxObject::Dump( SvStream& rStrm, bool bFill )
SbxVariable* pVar = r;
if( pVar )
{
- OUString aLine( aIndent );
- aLine += " - ";
- aLine += pVar->GetName( SbxNAME_SHORT_TYPES );
+ OUString aLine = aIndent + " - " + pVar->GetName( SbxNAME_SHORT_TYPES );
OUString aAttrs2;
if( CollectAttrs( pVar, aAttrs2 ) )
{
@@ -802,9 +798,7 @@ void SbxObject::Dump( SvStream& rStrm, bool bFill )
SbxVariable* pVar = r;
if( pVar )
{
- OUString aLine( aIndent );
- aLine += " - ";
- aLine += pVar->GetName( SbxNAME_SHORT_TYPES );
+ OUString aLine = aIndent + " - " + pVar->GetName( SbxNAME_SHORT_TYPES );
OUString aAttrs3;
if( CollectAttrs( pVar, aAttrs3 ) )
{