diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-02 12:09:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-04 07:46:25 +0100 |
commit | 7f81b9b9636b5f2333d1bc7eb0f2873aeb83ab07 (patch) | |
tree | b958d1d1ed90a50175ada9c1dcff6b8e7fc25777 /svx/source/unodraw/UnoGraphicExporter.cxx | |
parent | afc5d7aedf4d115bfaa539301b155db37be87054 (diff) |
loplugin:constparams in svx
Change-Id: Ib6ae6b0c1ae1659955124bb5c710f2989a0feb3a
Reviewed-on: https://gerrit.libreoffice.org/44250
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/unodraw/UnoGraphicExporter.cxx')
-rw-r--r-- | svx/source/unodraw/UnoGraphicExporter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx index 2188da8154b5..df98ffaf8dab 100644 --- a/svx/source/unodraw/UnoGraphicExporter.cxx +++ b/svx/source/unodraw/UnoGraphicExporter.cxx @@ -158,7 +158,7 @@ namespace { DECL_LINK( CalcFieldValueHdl, EditFieldInfo*, void ); void ParseSettings( const Sequence< PropertyValue >& aDescriptor, ExportSettings& rSettings ); - bool GetGraphic( ExportSettings& rSettings, Graphic& aGraphic, bool bVectorType ); + bool GetGraphic( ExportSettings const & rSettings, Graphic& aGraphic, bool bVectorType ); private: Reference< XShape > mxShape; @@ -596,7 +596,7 @@ void GraphicExporter::ParseSettings( const Sequence< PropertyValue >& aDescripto } } -bool GraphicExporter::GetGraphic( ExportSettings& rSettings, Graphic& aGraphic, bool bVectorType ) +bool GraphicExporter::GetGraphic( ExportSettings const & rSettings, Graphic& aGraphic, bool bVectorType ) { if( !mpDoc || !mpUnoPage ) return false; |