diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-11-05 23:48:35 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-11-06 08:13:40 +0100 |
commit | b4c4ca39d7cd4cc59e01bceeb31dc75097b67acb (patch) | |
tree | e5bcf412745c92813b8860bfc96552ba5efe29a7 /forms/source/component/ListBox.cxx | |
parent | a2d322c02af05db1b785633ea398fe0b62b67605 (diff) |
Replace some macros in forms part 9
Change-Id: I3bd6e118455c8ce86650797e05b7e40ca066eb53
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124784
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'forms/source/component/ListBox.cxx')
-rw-r--r-- | forms/source/component/ListBox.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index 8302ac05e25d..e93f8ffef87e 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -491,16 +491,16 @@ namespace frm sal_Int32 nOldCount = _rProps.getLength(); _rProps.realloc( nOldCount + 10); css::beans::Property* pProperties = _rProps.getArray() + nOldCount; - DECL_PROP1(TABINDEX, sal_Int16, BOUND); + DECL_PROP_IMPL(TABINDEX, sal_Int16) css::beans::PropertyAttribute::BOUND); DECL_PROP_IMPL(BOUNDCOLUMN, sal_Int16) css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::MAYBEVOID); - DECL_PROP1(LISTSOURCETYPE, ListSourceType, BOUND); - DECL_PROP1(LISTSOURCE, css::uno::Sequence<OUString>, BOUND); + DECL_PROP_IMPL(LISTSOURCETYPE, ListSourceType) css::beans::PropertyAttribute::BOUND); + DECL_PROP_IMPL(LISTSOURCE, css::uno::Sequence<OUString>) css::beans::PropertyAttribute::BOUND); DECL_PROP_IMPL(VALUE_SEQ, css::uno::Sequence<OUString>) css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::READONLY | css::beans::PropertyAttribute::TRANSIENT); DECL_PROP_IMPL(SELECT_VALUE_SEQ, Sequence< Any >) css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::TRANSIENT); DECL_PROP_IMPL(SELECT_VALUE, Any) css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::TRANSIENT); - DECL_PROP1(DEFAULT_SELECT_SEQ, Sequence<sal_Int16>, BOUND); - DECL_PROP1(STRINGITEMLIST, Sequence< OUString >, BOUND); - DECL_PROP1(TYPEDITEMLIST, Sequence< Any >, OPTIONAL); + DECL_PROP_IMPL(DEFAULT_SELECT_SEQ, Sequence<sal_Int16>) css::beans::PropertyAttribute::BOUND); + DECL_PROP_IMPL(STRINGITEMLIST, Sequence< OUString >) css::beans::PropertyAttribute::BOUND); + DECL_PROP_IMPL(TYPEDITEMLIST, Sequence< Any >) css::beans::PropertyAttribute::OPTIONAL); DBG_ASSERT( pProperties == _rProps.getArray() + _rProps.getLength(), "<...>::describeFixedProperties/getInfoHelper: forgot to adjust the count ?"); } |