From b9f9f8253f89151beed27499e6db5c11a7d81eba Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 12 Apr 2018 10:04:35 +0200 Subject: loplugin:constparams Change-Id: I3d1b88dbd0ff73fddc08d52f50e0efb42daab89b Reviewed-on: https://gerrit.libreoffice.org/52756 Tested-by: Jenkins Reviewed-by: Noel Grandin --- test/inc/unoapi_property_testers.hxx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'test/inc') diff --git a/test/inc/unoapi_property_testers.hxx b/test/inc/unoapi_property_testers.hxx index 616ab3bc0cb5..fce19763e21f 100644 --- a/test/inc/unoapi_property_testers.hxx +++ b/test/inc/unoapi_property_testers.hxx @@ -24,7 +24,7 @@ namespace apitest * @param name Name of property to test. */ void OOO_DLLPUBLIC_TEST testBooleanProperty( - css::uno::Reference& xPropertySet, const OUString& name); + css::uno::Reference const& xPropertySet, const OUString& name); /** @brief Tester for read-only property type 'boolean' of a @see com::sun::star::beans::XPropertySet. * @@ -32,7 +32,7 @@ void OOO_DLLPUBLIC_TEST testBooleanProperty( * @param name Name of property to test. */ void OOO_DLLPUBLIC_TEST testBooleanReadonlyProperty( - css::uno::Reference& xPropertySet, const OUString& name); + css::uno::Reference const& xPropertySet, const OUString& name); /** @brief Tester for property type 'double' of a @see com::sun::star::beans::XPropertySet. * @@ -41,7 +41,7 @@ void OOO_DLLPUBLIC_TEST testBooleanReadonlyProperty( * @param nValue Value to use when setting a new value. */ void OOO_DLLPUBLIC_TEST -testDoubleProperty(css::uno::Reference& xPropertySet, +testDoubleProperty(css::uno::Reference const& xPropertySet, const OUString& name, const double& dValue = 42.0); /** @brief Tester for read-only property type 'double' of a @see com::sun::star::beans::XPropertySet. @@ -51,7 +51,7 @@ testDoubleProperty(css::uno::Reference& xPropertySet, * @param nValue Value to use when setting a new value. */ void OOO_DLLPUBLIC_TEST -testDoubleReadonlyProperty(css::uno::Reference& xPropertySet, +testDoubleReadonlyProperty(css::uno::Reference const& xPropertySet, const OUString& name, const double& dValue = 42.0); /** @brief Tester for property type 'long' of a @see com::sun::star::beans::XPropertySet. @@ -61,8 +61,8 @@ testDoubleReadonlyProperty(css::uno::Reference& xPrope * @param nValue Value to use when setting a new value. */ void OOO_DLLPUBLIC_TEST -testLongProperty(css::uno::Reference& xPropertySet, const OUString& name, - const sal_Int32& nValue = 42); +testLongProperty(css::uno::Reference const& xPropertySet, + const OUString& name, const sal_Int32& nValue = 42); /** @brief Tester for read-only property type 'long' of a @see com::sun::star::beans::XPropertySet. * @@ -71,7 +71,7 @@ testLongProperty(css::uno::Reference& xPropertySet, co * @param nValue Value to use when setting a new value. */ void OOO_DLLPUBLIC_TEST -testLongReadonlyProperty(css::uno::Reference& xPropertySet, +testLongReadonlyProperty(css::uno::Reference const& xPropertySet, const OUString& name, const sal_Int32& nValue = 42); /** @brief Tester for property type 'short' of a @see com::sun::star::beans::XPropertySet. @@ -81,8 +81,8 @@ testLongReadonlyProperty(css::uno::Reference& xPropert * @param nValue Value to use when setting a new value. */ void OOO_DLLPUBLIC_TEST -testShortProperty(css::uno::Reference& xPropertySet, const OUString& name, - const sal_Int16& nValue = 42); +testShortProperty(css::uno::Reference const& xPropertySet, + const OUString& name, const sal_Int16& nValue = 42); /** @brief Tester for read-only property type 'short' of a @see com::sun::star::beans::XPropertySet. * @@ -91,7 +91,7 @@ testShortProperty(css::uno::Reference& xPropertySet, c * @param nValue Value to use when setting a new value. */ void OOO_DLLPUBLIC_TEST -testShortReadonlyProperty(css::uno::Reference& xPropertySet, +testShortReadonlyProperty(css::uno::Reference const& xPropertySet, const OUString& name, const sal_Int16& nValue = 42); /** @brief Tester for property type 'string' of a @see com::sun::star::beans::XPropertySet. @@ -101,7 +101,7 @@ testShortReadonlyProperty(css::uno::Reference& xProper * @param rValue Value to use when setting a new value. */ void OOO_DLLPUBLIC_TEST -testStringProperty(css::uno::Reference& xPropertySet, +testStringProperty(css::uno::Reference const& xPropertySet, const OUString& name, const OUString& rValue); /** @brief Tester for read-only property type 'string' of a @see com::sun::star::beans::XPropertySet. @@ -111,7 +111,7 @@ testStringProperty(css::uno::Reference& xPropertySet, * @param rValue Value to use when setting a new value. */ void OOO_DLLPUBLIC_TEST -testStringReadonlyProperty(css::uno::Reference& xPropertySet, +testStringReadonlyProperty(css::uno::Reference const& xPropertySet, const OUString& name, const OUString& rValue); } // namespace apitest #endif // INCLUDED_TEST_INC_UNOAPIPROPERTYTESTERS_HXX -- cgit