diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-11 13:49:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-11 21:42:16 +0200 |
commit | f9b104abc1185d4f9f3af66f49ec9e39f85a1c36 (patch) | |
tree | 972b288a471d03dded89e7d55040eef0ac65d2ee /framework | |
parent | 36e92f38c98e5cb21aecf07434df34b3ad75272a (diff) |
simplify some OUString::concat usage
Change-Id: Ifa150dc9d694981ffe03c254ea8c3fd820c99795
Reviewed-on: https://gerrit.libreoffice.org/39812
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/fwe/xml/menudocumenthandler.cxx | 2 | ||||
-rw-r--r-- | framework/source/fwe/xml/toolboxdocumenthandler.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/fwe/xml/menudocumenthandler.cxx b/framework/source/fwe/xml/menudocumenthandler.cxx index a7d8bd0e1acf..d6bff96e3155 100644 --- a/framework/source/fwe/xml/menudocumenthandler.cxx +++ b/framework/source/fwe/xml/menudocumenthandler.cxx @@ -872,7 +872,7 @@ void OWriteMenuDocumentHandler::WriteMenuItem( const OUString& aCommandURL, cons if ( nStyle & pStyle->nBit ) { if ( !aValue.isEmpty() ) - aValue = aValue.concat( "+" ); + aValue += "+"; aValue += OUString::createFromAscii( pStyle->attrName ); } } diff --git a/framework/source/fwe/xml/toolboxdocumenthandler.cxx b/framework/source/fwe/xml/toolboxdocumenthandler.cxx index 21f2d53ccc5d..633a057c574a 100644 --- a/framework/source/fwe/xml/toolboxdocumenthandler.cxx +++ b/framework/source/fwe/xml/toolboxdocumenthandler.cxx @@ -719,7 +719,7 @@ void OWriteToolBoxDocumentHandler::WriteToolBoxItem( if ( nStyle & pStyle->nBit ) { if ( !aValue.isEmpty() ) - aValue = aValue.concat( " " ); + aValue += " "; aValue += OUString::createFromAscii( pStyle->attrName ); } } |