From 18f202011661397d10ca4c2fa28fcf57b62221b0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 18 Aug 2021 18:31:05 +0200 Subject: loplugin:constparams Change-Id: Ic7410f836e584df45101e78e345c8b3c8d355e09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120680 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/xforms/xformsapi.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/xforms/xformsapi.hxx b/xmloff/source/xforms/xformsapi.hxx index d964b4d9263f..7b65079c2520 100644 --- a/xmloff/source/xforms/xformsapi.hxx +++ b/xmloff/source/xforms/xformsapi.hxx @@ -50,7 +50,7 @@ void xforms_setValueAny( template inline void xforms_setValue( - css::uno::Reference& xPropSet, + const css::uno::Reference& xPropSet, const OUString& rName, const T& aValue ) { @@ -58,7 +58,7 @@ inline void xforms_setValue( } template<> inline void xforms_setValue( - css::uno::Reference& xPropSet, + const css::uno::Reference& xPropSet, const OUString& rName, const css::uno::Any& aValue ) { -- cgit