summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-03 16:01:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-06 05:59:56 +0000
commitaadf790bbceb1cde94c2a6fe8edfb9951edca0a0 (patch)
treef48bea8591e2def6579c5095989ea425211a0063 /filter
parent6b58caf0597fed21c78fd806e5f2cef6fc43c502 (diff)
remove some unnecessary use of OUString constructor
found with git grep -nP '<<= OUString\(\w*[A-Za-z]+' Change-Id: I43354842f1e0418fb292f2e8e0cb30f1229d1c67 Reviewed-on: https://gerrit.libreoffice.org/34864 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/flash/swfexporter.cxx2
-rw-r--r--filter/source/msfilter/msdffimp.cxx2
-rw-r--r--filter/source/xsltfilter/XSLTFilter.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/flash/swfexporter.cxx b/filter/source/flash/swfexporter.cxx
index 9aa7b7f397e8..d2af184d5713 100644
--- a/filter/source/flash/swfexporter.cxx
+++ b/filter/source/flash/swfexporter.cxx
@@ -666,7 +666,7 @@ bool FlashExporter::getMetaFile( Reference< XComponent >&xComponent, GDIMetaFile
aDescriptor[0].Value <<= bExportAsJPEG ? OUString("PNG") : OUString("SVM");
aDescriptor[1].Name = "URL";
- aDescriptor[1].Value <<= OUString(aFile.GetURL());
+ aDescriptor[1].Value <<= aFile.GetURL();
aDescriptor[2].Name = "FilterData";
aDescriptor[2].Value <<= aFilterData;
if( bOnlyBackground )
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index dd6071934005..15b04491f77a 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -6986,7 +6986,7 @@ css::uno::Reference < css::embed::XEmbeddedObject > SvxMSDffManager::CheckForCo
aMedium[1].Name = "URL";
aMedium[1].Value <<= OUString( "private:stream" );
aMedium[2].Name = "DocumentBaseURL";
- aMedium[2].Value <<= OUString(rBaseURL);
+ aMedium[2].Value <<= rBaseURL;
if ( !aFilterName.isEmpty() )
{
diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx
index fcc683118749..47d9e380ae14 100644
--- a/filter/source/xsltfilter/XSLTFilter.cxx
+++ b/filter/source/xsltfilter/XSLTFilter.cxx
@@ -315,7 +315,7 @@ namespace XSLT
nv.Value <<= aURL;
args[1] <<= nv;
nv.Name = "SourceBaseURL";
- nv.Value <<= OUString(INetURLObject(aURL).getBase());
+ nv.Value <<= INetURLObject(aURL).getBase();
args[2] <<= nv;
m_tcontrol = impl_createTransformer(msUserData[1], args);