summaryrefslogtreecommitdiff
path: root/sfx2/source/doc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-01-30 19:09:35 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-01-31 12:04:02 +0000
commit1ef9f3988ee4dcbc77e1fdefa20442e044a67d4d (patch)
tree686b5f3247d28e19ba949b81fd5596dbe3a27401 /sfx2/source/doc
parent890ebf1cc6bb58ff21da19d7fd4b9b67eaa32a9c (diff)
unnecessary use of OUString constructor
Change-Id: Idd31b0a53c8318af69bbcd32f6798721ec8eb8e1 Reviewed-on: https://gerrit.libreoffice.org/21945 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r--sfx2/source/doc/iframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/iframe.cxx b/sfx2/source/doc/iframe.cxx
index 45bd62203e09..4d8b48607ca3 100644
--- a/sfx2/source/doc/iframe.cxx
+++ b/sfx2/source/doc/iframe.cxx
@@ -192,7 +192,7 @@ throw( uno::RuntimeException, std::exception )
mxFrame->setCreator( xFramesSupplier );
util::URL aTargetURL;
- aTargetURL.Complete = OUString( maFrmDescr.GetURL().GetMainURL( INetURLObject::NO_DECODE ) );
+ aTargetURL.Complete = maFrmDescr.GetURL().GetMainURL( INetURLObject::NO_DECODE );
uno::Reference < util::XURLTransformer > xTrans( util::URLTransformer::create( mxContext ) );
xTrans->parseStrict( aTargetURL );