diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-20 11:49:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-20 13:03:29 +0200 |
commit | 8bedbc3f567f3f6d567376ccf0830160df1d4bbb (patch) | |
tree | d3f4292a0529dbced8916abd3a6cef53ae6ad2b5 /xmloff/source/xforms | |
parent | f24b46c27243b88e4d367d7b105d1365e97dbd76 (diff) |
loplugin:constparams in xmloff
Change-Id: Iec9535b106c85e47ddb14eec4ef3db5b1c8d8fd7
Reviewed-on: https://gerrit.libreoffice.org/40219
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/XFormsBindContext.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/xforms/xformsapi.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/xforms/xformsapi.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/xforms/xformsexport.cxx | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/xforms/XFormsBindContext.cxx b/xmloff/source/xforms/XFormsBindContext.cxx index 9cb04313ac17..0a624dd58ea5 100644 --- a/xmloff/source/xforms/XFormsBindContext.cxx +++ b/xmloff/source/xforms/XFormsBindContext.cxx @@ -58,7 +58,7 @@ static const struct SvXMLTokenMapEntry aAttributeMap[] = // helper function; see below static void lcl_fillNamespaceContainer( const SvXMLNamespaceMap&, - Reference<XNameContainer>& ); + Reference<XNameContainer> const & ); XFormsBindContext::XFormsBindContext( SvXMLImport& rImport, @@ -143,7 +143,7 @@ SvXMLImportContext* XFormsBindContext::HandleChild( static void lcl_fillNamespaceContainer( const SvXMLNamespaceMap& aMap, - Reference<XNameContainer>& xContainer ) + Reference<XNameContainer> const & xContainer ) { sal_uInt16 nKeyIter = aMap.GetFirstKey(); do diff --git a/xmloff/source/xforms/xformsapi.cxx b/xmloff/source/xforms/xformsapi.cxx index 4d22dbff862c..dbe8170e75d8 100644 --- a/xmloff/source/xforms/xformsapi.cxx +++ b/xmloff/source/xforms/xformsapi.cxx @@ -161,7 +161,7 @@ Reference<XPropertySet> xforms_findXFormsSubmission( return lcl_findXFormsBindingOrSubmission( xDocument, rBindingID, false ); } -void xforms_setValue( Reference<XPropertySet>& xPropertySet, +void xforms_setValue( Reference<XPropertySet> const & xPropertySet, const OUString& rName, const Any& rAny ) { diff --git a/xmloff/source/xforms/xformsapi.hxx b/xmloff/source/xforms/xformsapi.hxx index 0af4c48223ad..6f770627046a 100644 --- a/xmloff/source/xforms/xformsapi.hxx +++ b/xmloff/source/xforms/xformsapi.hxx @@ -45,7 +45,7 @@ css::uno::Reference<css::beans::XPropertySet> xforms_findXFormsBinding( css::uno css::uno::Reference<css::beans::XPropertySet> xforms_findXFormsSubmission( css::uno::Reference<css::frame::XModel> const &, const OUString& ); void xforms_setValue( - css::uno::Reference<css::beans::XPropertySet>& xPropSet, + css::uno::Reference<css::beans::XPropertySet> const & xPropSet, const OUString& rName, const css::uno::Any& rAny ); diff --git a/xmloff/source/xforms/xformsexport.cxx b/xmloff/source/xforms/xformsexport.cxx index 1f0b099507e3..a0c8ed01cfa9 100644 --- a/xmloff/source/xforms/xformsexport.cxx +++ b/xmloff/source/xforms/xformsexport.cxx @@ -143,7 +143,7 @@ convert_t const xforms_date = &xforms_convertRef<util::Date,&xforms_formatDa convert_t const xforms_time = &xforms_convertRef<css::util::Time,&xforms_formatTime>; // other functions -static OUString lcl_getXSDType( SvXMLExport& rExport, +static OUString lcl_getXSDType( SvXMLExport const & rExport, const Reference<XPropertySet>& xType ); @@ -458,7 +458,7 @@ static void lcl_exportDataTypeFacets( SvXMLExport& rExport, } } -static OUString lcl_getXSDType( SvXMLExport& rExport, +static OUString lcl_getXSDType( SvXMLExport const & rExport, const Reference<XPropertySet>& xType ) { // we use string as default... |