summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 11:48:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 20:12:29 +0200
commit977a676a718bfa682352d023420f4026ea9d7025 (patch)
treeb25d5f22ff761ee7eee0a66c5585de05bdbc9c80 /include/xmloff
parentf62c65459100bd45bfc274e2b2587d5c6804feb2 (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 'include/xmloff')
-rw-r--r--include/xmloff/numehelp.hxx4
-rw-r--r--include/xmloff/shapeimport.hxx6
-rw-r--r--include/xmloff/table/XMLTableImport.hxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/include/xmloff/numehelp.hxx b/include/xmloff/numehelp.hxx
index 53d62912fbb9..dba76e714ed7 100644
--- a/include/xmloff/numehelp.hxx
+++ b/include/xmloff/numehelp.hxx
@@ -71,8 +71,8 @@ class XMLOFF_DLLPUBLIC XMLNumberFormatAttributesExportHelper
const OUString msCurrencyAbbreviation;
XMLNumberFormatSet aNumberFormats;
public:
- XMLNumberFormatAttributesExportHelper(css::uno::Reference< css::util::XNumberFormatsSupplier >& xNumberFormatsSupplier);
- XMLNumberFormatAttributesExportHelper(css::uno::Reference< css::util::XNumberFormatsSupplier >& xNumberFormatsSupplier,
+ XMLNumberFormatAttributesExportHelper(css::uno::Reference< css::util::XNumberFormatsSupplier > const & xNumberFormatsSupplier);
+ XMLNumberFormatAttributesExportHelper(css::uno::Reference< css::util::XNumberFormatsSupplier > const & xNumberFormatsSupplier,
SvXMLExport& rExport );
~XMLNumberFormatAttributesExportHelper();
diff --git a/include/xmloff/shapeimport.hxx b/include/xmloff/shapeimport.hxx
index 90a290215048..58387766c3a0 100644
--- a/include/xmloff/shapeimport.hxx
+++ b/include/xmloff/shapeimport.hxx
@@ -262,13 +262,13 @@ public:
SvXMLShapeContext* CreateGroupChildContext(
SvXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList,
- css::uno::Reference< css::drawing::XShapes >& rShapes,
+ css::uno::Reference< css::drawing::XShapes > const & rShapes,
bool bTemporaryShape = false);
SvXMLShapeContext* CreateFrameChildContext(
SvXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList,
- css::uno::Reference< css::drawing::XShapes >& rShapes,
+ css::uno::Reference< css::drawing::XShapes > const & rShapes,
const css::uno::Reference< css::xml::sax::XAttributeList >& xFrameAttrList);
static SvXMLImportContext* CreateFrameChildContext(
SvXMLImportContext *pThisContext, sal_uInt16 nPrefix, const OUString& rLocalName,
@@ -277,7 +277,7 @@ public:
SvXMLShapeContext* Create3DSceneChildContext(
SvXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList,
- css::uno::Reference< css::drawing::XShapes >& rShapes);
+ css::uno::Reference< css::drawing::XShapes > const & rShapes);
const SvXMLTokenMap& GetGroupShapeElemTokenMap();
const SvXMLTokenMap& GetFrameShapeElemTokenMap();
diff --git a/include/xmloff/table/XMLTableImport.hxx b/include/xmloff/table/XMLTableImport.hxx
index c35c662b3086..47883b2a1b9a 100644
--- a/include/xmloff/table/XMLTableImport.hxx
+++ b/include/xmloff/table/XMLTableImport.hxx
@@ -47,7 +47,7 @@ public:
virtual ~XMLTableImport() override;
SvXMLImportContext* CreateTableContext( sal_uInt16 nPrfx, const OUString& rLName,
- css::uno::Reference< css::table::XColumnRowRange >& xColumnRowRange );
+ css::uno::Reference< css::table::XColumnRowRange > const & xColumnRowRange );
SvXMLStyleContext* CreateTableTemplateContext( sal_uInt16 nPrfx, const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList );