Kaydet (Commit) ea5eb69b authored tarafından Jens Carl's avatar Jens Carl

Fix error with default arguments

Change-Id: Id645d43ad63b7d91d3c47898c22594dc58333cd2
Reviewed-on: https://gerrit.libreoffice.org/51622Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJens Carl <j.carl43@gmx.de>
üst 44bf46c1
...@@ -34,7 +34,7 @@ void OOO_DLLPUBLIC_TEST testBooleanProperty( ...@@ -34,7 +34,7 @@ void OOO_DLLPUBLIC_TEST testBooleanProperty(
*/ */
void OOO_DLLPUBLIC_TEST void OOO_DLLPUBLIC_TEST
testLongProperty(css::uno::Reference<css::beans::XPropertySet>& xPropertySet, const OUString& name, 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. /** @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 ...@@ -44,7 +44,7 @@ testLongProperty(css::uno::Reference<css::beans::XPropertySet>& xPropertySet, co
*/ */
void OOO_DLLPUBLIC_TEST void OOO_DLLPUBLIC_TEST
testShortProperty(css::uno::Reference<css::beans::XPropertySet>& xPropertySet, const OUString& name, 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. /** @brief Tester for property type 'string' of a @see com::sun::star::beans::XPropertySet.
* *
......
...@@ -40,7 +40,7 @@ void testBooleanProperty(uno::Reference<beans::XPropertySet>& xPropertySet, cons ...@@ -40,7 +40,7 @@ void testBooleanProperty(uno::Reference<beans::XPropertySet>& xPropertySet, cons
} }
void testLongProperty(uno::Reference<beans::XPropertySet>& xPropertySet, const OUString& name, void testLongProperty(uno::Reference<beans::XPropertySet>& xPropertySet, const OUString& name,
const sal_Int32& nValue = 42) const sal_Int32& nValue)
{ {
uno::Any aNewValue; uno::Any aNewValue;
...@@ -60,7 +60,7 @@ void testLongProperty(uno::Reference<beans::XPropertySet>& xPropertySet, const O ...@@ -60,7 +60,7 @@ void testLongProperty(uno::Reference<beans::XPropertySet>& xPropertySet, const O
} }
void testShortProperty(uno::Reference<beans::XPropertySet>& xPropertySet, const OUString& name, void testShortProperty(uno::Reference<beans::XPropertySet>& xPropertySet, const OUString& name,
const sal_Int16& nValue = 42) const sal_Int16& nValue)
{ {
uno::Any aNewValue; uno::Any aNewValue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment