summaryrefslogtreecommitdiff
path: root/xmloff/source/xforms
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 /xmloff/source/xforms
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 'xmloff/source/xforms')
-rw-r--r--xmloff/source/xforms/SchemaRestrictionContext.cxx2
-rw-r--r--xmloff/source/xforms/SchemaRestrictionContext.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/xforms/SchemaRestrictionContext.cxx b/xmloff/source/xforms/SchemaRestrictionContext.cxx
index 5afd5e6b0b85..86a52ba9a09b 100644
--- a/xmloff/source/xforms/SchemaRestrictionContext.cxx
+++ b/xmloff/source/xforms/SchemaRestrictionContext.cxx
@@ -82,7 +82,7 @@ SchemaRestrictionContext::SchemaRestrictionContext(
SvXMLImport& rImport,
sal_uInt16 nPrefix,
const OUString& rLocalName,
- Reference<css::xforms::XDataTypeRepository>& rRepository,
+ Reference<css::xforms::XDataTypeRepository> const & rRepository,
const OUString& sTypeName ) :
TokenContext( rImport, nPrefix, rLocalName, aAttributes, aChildren ),
mxRepository( rRepository ),
diff --git a/xmloff/source/xforms/SchemaRestrictionContext.hxx b/xmloff/source/xforms/SchemaRestrictionContext.hxx
index 2de3fcea7cca..8f6bbd0db2d3 100644
--- a/xmloff/source/xforms/SchemaRestrictionContext.hxx
+++ b/xmloff/source/xforms/SchemaRestrictionContext.hxx
@@ -44,7 +44,7 @@ public:
SchemaRestrictionContext( SvXMLImport& rImport,
sal_uInt16 nPrfx,
const OUString& rLName,
- css::uno::Reference<css::xforms::XDataTypeRepository>& rRepository,
+ css::uno::Reference<css::xforms::XDataTypeRepository> const & rRepository,
const OUString& sTypeName );
protected: