summaryrefslogtreecommitdiff
path: root/filter/source
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 /filter/source
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 'filter/source')
-rw-r--r--filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
index 84277d3b95c0..03a3b2bc746b 100644
--- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
+++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
@@ -134,9 +134,7 @@ bool SAL_CALL XmlFilterAdaptor::importImpl( const Sequence< css::beans::Property
if(!comphelper::isFileUrl(msTemplateName))
{
SvtPathOptions aOptions;
- OUString PathString = aOptions.SubstituteVariable("$(progurl)");
- PathString = PathString.concat("/");
- msTemplateName=PathString.concat(msTemplateName);
+ msTemplateName = aOptions.SubstituteVariable("$(progurl)") + "/" + msTemplateName;
}
xstyleLoader->loadStylesFromURL(msTemplateName,aValue);