summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-11 13:49:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-11 21:42:16 +0200
commitf9b104abc1185d4f9f3af66f49ec9e39f85a1c36 (patch)
tree972b288a471d03dded89e7d55040eef0ac65d2ee /xmloff
parent36e92f38c98e5cb21aecf07434df34b3ad75272a (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 'xmloff')
-rw-r--r--xmloff/source/draw/shapeexport.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 1ca5437cdbad..bb55ebe0ec9f 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -2299,8 +2299,7 @@ void XMLShapeExport::ImpExportGraphicObjectShape(
sRequestedName = sRequestedName.copy( 0, nLastIndex );
if ( !sRequestedName.isEmpty() )
{
- aResolveURL = aResolveURL.concat( "?requestedName=");
- aResolveURL = aResolveURL.concat( sRequestedName );
+ aResolveURL += "?requestedName=" + sRequestedName;
}
}
@@ -2315,11 +2314,11 @@ void XMLShapeExport::ImpExportGraphicObjectShape(
aStreamURL = sPackageURL;
if ( aStr[0] == '#' )
{
- aStreamURL = aStreamURL.concat( aStr.copy( 1, aStr.getLength() - 1 ) );
+ aStreamURL += aStr.copy( 1, aStr.getLength() - 1 );
}
else
{
- aStreamURL = aStreamURL.concat( aStr );
+ aStreamURL += aStr;
}
xPropSet->setPropertyValue( "GraphicStreamURL", uno::Any(aStreamURL) );