diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-28 11:48:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-28 20:12:29 +0200 |
commit | 977a676a718bfa682352d023420f4026ea9d7025 (patch) | |
tree | b25d5f22ff761ee7eee0a66c5585de05bdbc9c80 /xmloff/source/chart | |
parent | f62c65459100bd45bfc274e2b2587d5c6804feb2 (diff) |
loplugin:constparams in xmloff
Change-Id: I136ee42523a40c576d7cf0b66abbf50ad9be052f
Reviewed-on: https://gerrit.libreoffice.org/40517
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/chart')
-rw-r--r-- | xmloff/source/chart/SchXMLChartContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLChartContext.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLPlotAreaContext.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLPlotAreaContext.hxx | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/chart/SchXMLChartContext.cxx b/xmloff/source/chart/SchXMLChartContext.cxx index a65e6c81434d..916928d00353 100644 --- a/xmloff/source/chart/SchXMLChartContext.cxx +++ b/xmloff/source/chart/SchXMLChartContext.cxx @@ -1190,7 +1190,7 @@ void SchXMLChartContext::InitChart( SchXMLTitleContext::SchXMLTitleContext( SchXMLImportHelper& rImpHelper, SvXMLImport& rImport, const OUString& rLocalName, OUString& rTitle, - uno::Reference< drawing::XShape >& xTitleShape ) : + uno::Reference< drawing::XShape > const & xTitleShape ) : SvXMLImportContext( rImport, XML_NAMESPACE_CHART, rLocalName ), mrImportHelper( rImpHelper ), mrTitle( rTitle ), diff --git a/xmloff/source/chart/SchXMLChartContext.hxx b/xmloff/source/chart/SchXMLChartContext.hxx index da5514c246e4..14782920b4c2 100644 --- a/xmloff/source/chart/SchXMLChartContext.hxx +++ b/xmloff/source/chart/SchXMLChartContext.hxx @@ -137,7 +137,7 @@ public: SchXMLTitleContext( SchXMLImportHelper& rImpHelper, SvXMLImport& rImport, const OUString& rLocalName, OUString& rTitle, - css::uno::Reference< css::drawing::XShape >& xTitleShape ); + css::uno::Reference< css::drawing::XShape > const & xTitleShape ); virtual ~SchXMLTitleContext() override; virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx index e76f51b04c52..03ee2ecf1d84 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx @@ -752,7 +752,7 @@ SchXMLWallFloorContext::SchXMLWallFloorContext( SvXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLocalName, - uno::Reference< chart::XDiagram >& xDiagram, + uno::Reference< chart::XDiagram > const & xDiagram, ContextType eContextType ) : SvXMLImportContext( rImport, nPrefix, rLocalName ), mrImportHelper( rImpHelper ), @@ -801,7 +801,7 @@ SchXMLStockContext::SchXMLStockContext( SvXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLocalName, - uno::Reference< chart::XDiagram >& xDiagram, + uno::Reference< chart::XDiagram > const & xDiagram, ContextType eContextType ) : SvXMLImportContext( rImport, nPrefix, rLocalName ), mrImportHelper( rImpHelper ), diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.hxx b/xmloff/source/chart/SchXMLPlotAreaContext.hxx index f839420b8718..d369af474998 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.hxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.hxx @@ -189,7 +189,7 @@ public: SvXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLocalName, - css::uno::Reference< css::chart::XDiagram >& xDiagram, + css::uno::Reference< css::chart::XDiagram > const & xDiagram, ContextType eContextType ); virtual ~SchXMLWallFloorContext() override; virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; @@ -215,7 +215,7 @@ public: SvXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLocalName, - css::uno::Reference< css::chart::XDiagram >& xDiagram, + css::uno::Reference< css::chart::XDiagram > const & xDiagram, ContextType eContextType ); virtual ~SchXMLStockContext() override; virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; |