include/test/unoapi_property_testers.hxx | 4 ++-- test/source/unoapi_property_testers.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
New commits: commit ea5eb69b65a3e27bfab9cd3f220eaeced159be39 Author: Jens Carl <j.car...@gmx.de> Date: Tue Mar 20 07:05:53 2018 +0000 Fix error with default arguments Change-Id: Id645d43ad63b7d91d3c47898c22594dc58333cd2 Reviewed-on: https://gerrit.libreoffice.org/51622 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Jens Carl <j.car...@gmx.de> diff --git a/include/test/unoapi_property_testers.hxx b/include/test/unoapi_property_testers.hxx index c0c7cc86dd70..369ab586d366 100644 --- a/include/test/unoapi_property_testers.hxx +++ b/include/test/unoapi_property_testers.hxx @@ -34,7 +34,7 @@ void OOO_DLLPUBLIC_TEST testBooleanProperty( */ void OOO_DLLPUBLIC_TEST testLongProperty(css::uno::Reference<css::beans::XPropertySet>& xPropertySet, const OUString& name, - const sal_Int32& nValue); + const sal_Int32& nValue = 42); /** @brief Tester for property type 'short' of a @see com::sun::star::beans::XPropertySet. * @@ -44,7 +44,7 @@ testLongProperty(css::uno::Reference<css::beans::XPropertySet>& xPropertySet, co */ void OOO_DLLPUBLIC_TEST testShortProperty(css::uno::Reference<css::beans::XPropertySet>& xPropertySet, const OUString& name, - const sal_Int16& nValue); + const sal_Int16& nValue = 42); /** @brief Tester for property type 'string' of a @see com::sun::star::beans::XPropertySet. * diff --git a/test/source/unoapi_property_testers.cxx b/test/source/unoapi_property_testers.cxx index e84ab8d7e7ab..08fde5ebd5d0 100644 --- a/test/source/unoapi_property_testers.cxx +++ b/test/source/unoapi_property_testers.cxx @@ -40,7 +40,7 @@ void testBooleanProperty(uno::Reference<beans::XPropertySet>& xPropertySet, cons } void testLongProperty(uno::Reference<beans::XPropertySet>& xPropertySet, const OUString& name, - const sal_Int32& nValue = 42) + const sal_Int32& nValue) { uno::Any aNewValue; @@ -60,7 +60,7 @@ void testLongProperty(uno::Reference<beans::XPropertySet>& xPropertySet, const O } void testShortProperty(uno::Reference<beans::XPropertySet>& xPropertySet, const OUString& name, - const sal_Int16& nValue = 42) + const sal_Int16& nValue) { uno::Any aNewValue; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits