summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-12 10:04:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-17 08:13:06 +0200
commitb9f9f8253f89151beed27499e6db5c11a7d81eba (patch)
tree67e1506ecce80867e8a7fbf07ffe2ac5c1f6ad11 /oox
parent0a910746b19f10f184f6ff8f41c868994a472ca9 (diff)
loplugin:constparams
Change-Id: I3d1b88dbd0ff73fddc08d52f50e0efb42daab89b Reviewed-on: https://gerrit.libreoffice.org/52756 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/core/xmlfilterbase.cxx2
-rw-r--r--oox/source/export/chartexport.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index 2bbb23a38721..57a752489960 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -954,7 +954,7 @@ OUString XmlFilterBase::getNamespaceURL(sal_Int32 nNSID) const
return itr->second;
}
-void XmlFilterBase::importCustomFragments(css::uno::Reference<css::embed::XStorage>& xDocumentStorage)
+void XmlFilterBase::importCustomFragments(css::uno::Reference<css::embed::XStorage> const & xDocumentStorage)
{
Reference<XRelationshipAccess> xRelations(xDocumentStorage, UNO_QUERY);
if (xRelations.is())
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 6a0876f50693..aad1c41ad8fe 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -2962,7 +2962,7 @@ OUString getFieldTypeString( const chart2::DataPointCustomLabelFieldType aType )
return OUString();
}
-void writeRunProperties( ChartExport* pChartExport, Reference<XPropertySet>& xPropertySet )
+void writeRunProperties( ChartExport* pChartExport, Reference<XPropertySet> const & xPropertySet )
{
bool bDummy = false;
sal_Int32 nDummy;