summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-06-11 13:50:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-12 08:24:45 +0200
commit1c3ffcdd4e702264728d222046c401b90cb1c8c9 (patch)
treeda40599532933bcc4f6363d56423150b07b2bc44 /svx
parent48ca5005ecea5286564c682f6d75716f3c4d8451 (diff)
loplugin:constantparam
Change-Id: Ia769b3176aea287cd57414d7ce8e88c6da43883e Reviewed-on: https://gerrit.libreoffice.org/55622 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdoole2.cxx4
-rw-r--r--svx/source/unodraw/unoshap4.cxx2
-rw-r--r--svx/source/xml/xmlgrhlp.cxx5
3 files changed, 5 insertions, 6 deletions
diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx
index 9618c0bab20c..40ea2dbb7f3b 100644
--- a/svx/source/svdraw/svdoole2.cxx
+++ b/svx/source/svdraw/svdoole2.cxx
@@ -1864,9 +1864,9 @@ bool SdrOle2Obj::IsReal3DChart() const
return ChartHelper::isGL3DDiagram(xChart2Diagram);
}
-void SdrOle2Obj::SetGraphicToObj( const Graphic& aGraphic, const OUString& aMediaType )
+void SdrOle2Obj::SetGraphicToObj( const Graphic& aGraphic )
{
- mpImpl->mxObjRef.SetGraphic( aGraphic, aMediaType );
+ mpImpl->mxObjRef.SetGraphic( aGraphic, OUString() );
}
void SdrOle2Obj::SetGraphicToObj( const uno::Reference< io::XInputStream >& xGrStream, const OUString& aMediaType )
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index e584504026bf..1f18559a464e 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -158,7 +158,7 @@ bool SvxOle2Shape::setPropertyValueImpl( const OUString& rName, const SfxItemPro
{
GraphicObject aGrafObj( xGraphic );
const Graphic aGraphic( aGrafObj.GetGraphic() );
- pOle->SetGraphicToObj( aGraphic, OUString() );
+ pOle->SetGraphicToObj( aGraphic );
}
return true;
}
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx
index 988341d528e1..b8428d2aeda4 100644
--- a/svx/source/xml/xmlgrhlp.cxx
+++ b/svx/source/xml/xmlgrhlp.cxx
@@ -519,11 +519,10 @@ void SvXMLGraphicHelper::Init( const uno::Reference < embed::XStorage >& rXMLSto
}
rtl::Reference<SvXMLGraphicHelper> SvXMLGraphicHelper::Create( const uno::Reference < embed::XStorage >& rXMLStorage,
- SvXMLGraphicHelperMode eCreateMode,
- const OUString& rGraphicMimeType )
+ SvXMLGraphicHelperMode eCreateMode )
{
rtl::Reference<SvXMLGraphicHelper> pThis = new SvXMLGraphicHelper;
- pThis->Init( rXMLStorage, eCreateMode, rGraphicMimeType );
+ pThis->Init( rXMLStorage, eCreateMode, OUString() );
return pThis;
}