diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-06 08:50:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-06 09:54:25 +0200 |
commit | 24eae7bd702f3f6dd790be7ac38ac16e9fe6a375 (patch) | |
tree | 56398264184709e84517c2e843aa3a0894cc1c51 /xmloff/source/xforms | |
parent | fad919eb0d30b2303193e1c00ba765514957652c (diff) |
clang-tidy performance-unnecessary-value-param
Change-Id: I69247498e13331f6ef84afeb242479f8fb1178a8
Reviewed-on: https://gerrit.libreoffice.org/60068
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/xforms')
-rw-r--r-- | xmloff/source/xforms/xformsimport.cxx | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/xmloff/source/xforms/xformsimport.cxx b/xmloff/source/xforms/xformsimport.cxx index 7b4db9784e44..03b1ca1d6043 100644 --- a/xmloff/source/xforms/xformsimport.cxx +++ b/xmloff/source/xforms/xformsimport.cxx @@ -63,9 +63,8 @@ SvXMLImportContext* createXFormsModelContext( return new XFormsModelContext( rImport, nPrefix, rLocalName ); } -void bindXFormsValueBinding( - Reference<XModel> const & xModel, - pair<Reference<XPropertySet>,OUString> aPair ) +void bindXFormsValueBinding(Reference<XModel> const& xModel, + const pair<Reference<XPropertySet>, OUString>& aPair) { Reference<XBindableValue> xBindable( aPair.first, @@ -88,9 +87,8 @@ void bindXFormsValueBinding( } } -void bindXFormsListBinding( - Reference<XModel> const & xModel, - ::pair<Reference<XPropertySet>,OUString> aPair ) +void bindXFormsListBinding(Reference<XModel> const& xModel, + const ::pair<Reference<XPropertySet>, OUString>& aPair) { Reference<XListEntrySink> xListEntrySink( aPair.first, @@ -113,9 +111,8 @@ void bindXFormsListBinding( } } -void bindXFormsSubmission( - Reference<XModel> const & xModel, - pair<Reference<XPropertySet>,OUString> aPair ) +void bindXFormsSubmission(Reference<XModel> const& xModel, + const pair<Reference<XPropertySet>, OUString>& aPair) { Reference<XSubmissionSupplier> xSubmissionSupp( aPair.first, UNO_QUERY ); Reference<XSubmission> xSubmission( |