diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:18:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:18:07 +0200 |
commit | ca149259eb8bba5c306fd4b174a7eeeb84a3bef7 (patch) | |
tree | bfb5fa5d054968c227bc76d897e9d3c812717d8c /filter | |
parent | d0a91cf2242ebb37097049021eadb5adda6d183c (diff) |
loplugin:stringcopy: filter
Change-Id: Ibaf85db278f27506baf26ff23a40ede888f55ed2
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/eschesdo.cxx | 2 | ||||
-rw-r--r-- | filter/source/msfilter/msoleexp.cxx | 2 | ||||
-rw-r--r-- | filter/source/svg/svgexport.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/msfilter/eschesdo.cxx b/filter/source/msfilter/eschesdo.cxx index a6dcda3a010c..2ad8980fed1d 100644 --- a/filter/source/msfilter/eschesdo.cxx +++ b/filter/source/msfilter/eschesdo.cxx @@ -1139,7 +1139,7 @@ void ImplEESdrObject::Init( ImplEESdrWriter& rEx ) if( mXPropSet.is() ) { // detect name first to make below test (is group) work - mType = OUString( mXShape->getShapeType() ); + mType = mXShape->getShapeType(); (void)mType.startsWith( "com.sun.star.", &mType ); // strip "com.sun.star." (void)mType.endsWith( "Shape", &mType ); // strip "Shape" diff --git a/filter/source/msfilter/msoleexp.cxx b/filter/source/msfilter/msoleexp.cxx index b3bbcd5d7f9b..bbca5e6240e3 100644 --- a/filter/source/msfilter/msoleexp.cxx +++ b/filter/source/msfilter/msoleexp.cxx @@ -195,7 +195,7 @@ void SvxMSExportOLEObjects::ExportOLEObject( svt::EmbeddedObjectRef& rObj, SotSt ::uno::Reference < io::XOutputStream > xOut = new ::utl::OOutputStreamWrapper( *pStream ); aSeq[0].Value <<= xOut; aSeq[1].Name = "FilterName"; - aSeq[1].Value <<= OUString( pExpFilter->GetName() ); + aSeq[1].Value <<= pExpFilter->GetName(); uno::Reference < frame::XStorable > xStor( rObj->getComponent(), uno::UNO_QUERY ); try { diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx index 90f472e58724..2f3537539c6b 100644 --- a/filter/source/svg/svgexport.cxx +++ b/filter/source/svg/svgexport.cxx @@ -2047,7 +2047,7 @@ void SVGFilter::implCreateObjectsFromBackground( const Reference< XDrawPage >& r aDescriptor[0].Name = "FilterName"; aDescriptor[0].Value <<= OUString( "SVM" ); aDescriptor[1].Name = "URL"; - aDescriptor[1].Value <<= OUString( aFile.GetURL() ); + aDescriptor[1].Value <<= aFile.GetURL(); aDescriptor[2].Name = "ExportOnlyBackground"; aDescriptor[2].Value <<= true; |