summaryrefslogtreecommitdiff
path: root/test/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-12 10:04:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-17 08:13:06 +0200
commitb9f9f8253f89151beed27499e6db5c11a7d81eba (patch)
tree67e1506ecce80867e8a7fbf07ffe2ac5c1f6ad11 /test/inc
parent0a910746b19f10f184f6ff8f41c868994a472ca9 (diff)
loplugin:constparams
Change-Id: I3d1b88dbd0ff73fddc08d52f50e0efb42daab89b Reviewed-on: https://gerrit.libreoffice.org/52756 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'test/inc')
-rw-r--r--test/inc/unoapi_property_testers.hxx24
1 files changed, 12 insertions, 12 deletions
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<css::beans::XPropertySet>& xPropertySet, const OUString& name);
+ css::uno::Reference<css::beans::XPropertySet> 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<css::beans::XPropertySet>& xPropertySet, const OUString& name);
+ css::uno::Reference<css::beans::XPropertySet> 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<css::beans::XPropertySet>& xPropertySet,
+testDoubleProperty(css::uno::Reference<css::beans::XPropertySet> 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<css::beans::XPropertySet>& xPropertySet,
* @param nValue Value to use when setting a new value.
*/
void OOO_DLLPUBLIC_TEST
-testDoubleReadonlyProperty(css::uno::Reference<css::beans::XPropertySet>& xPropertySet,
+testDoubleReadonlyProperty(css::uno::Reference<css::beans::XPropertySet> 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<css::beans::XPropertySet>& xPrope
* @param nValue Value to use when setting a new value.
*/
void OOO_DLLPUBLIC_TEST
-testLongProperty(css::uno::Reference<css::beans::XPropertySet>& xPropertySet, const OUString& name,
- const sal_Int32& nValue = 42);
+testLongProperty(css::uno::Reference<css::beans::XPropertySet> 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<css::beans::XPropertySet>& xPropertySet, co
* @param nValue Value to use when setting a new value.
*/
void OOO_DLLPUBLIC_TEST
-testLongReadonlyProperty(css::uno::Reference<css::beans::XPropertySet>& xPropertySet,
+testLongReadonlyProperty(css::uno::Reference<css::beans::XPropertySet> 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<css::beans::XPropertySet>& xPropert
* @param nValue Value to use when setting a new value.
*/
void OOO_DLLPUBLIC_TEST
-testShortProperty(css::uno::Reference<css::beans::XPropertySet>& xPropertySet, const OUString& name,
- const sal_Int16& nValue = 42);
+testShortProperty(css::uno::Reference<css::beans::XPropertySet> 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<css::beans::XPropertySet>& xPropertySet, c
* @param nValue Value to use when setting a new value.
*/
void OOO_DLLPUBLIC_TEST
-testShortReadonlyProperty(css::uno::Reference<css::beans::XPropertySet>& xPropertySet,
+testShortReadonlyProperty(css::uno::Reference<css::beans::XPropertySet> 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<css::beans::XPropertySet>& xProper
* @param rValue Value to use when setting a new value.
*/
void OOO_DLLPUBLIC_TEST
-testStringProperty(css::uno::Reference<css::beans::XPropertySet>& xPropertySet,
+testStringProperty(css::uno::Reference<css::beans::XPropertySet> 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<css::beans::XPropertySet>& xPropertySet,
* @param rValue Value to use when setting a new value.
*/
void OOO_DLLPUBLIC_TEST
-testStringReadonlyProperty(css::uno::Reference<css::beans::XPropertySet>& xPropertySet,
+testStringReadonlyProperty(css::uno::Reference<css::beans::XPropertySet> const& xPropertySet,
const OUString& name, const OUString& rValue);
} // namespace apitest
#endif // INCLUDED_TEST_INC_UNOAPIPROPERTYTESTERS_HXX