diff options
author | Eike Rathke <erack@redhat.com> | 2017-06-12 17:22:35 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-06-12 20:16:33 +0200 |
commit | a1d695fb6a4f5a9711d072cca42ca90bff37858a (patch) | |
tree | b2e5f1bcf3ee6f066208186f4a080cacb2edeb72 /forms | |
parent | 7bb142d830b86d7d2b84ede2f236312e76956175 (diff) |
Resolves: tdf#108413 yet some more TYPEDITEMLIST property entries
... which apparently need to be present to be able to override them. You
also can have never enough macro names to obfuscate things for grep..
Change-Id: Ic0bdcb71682136a537b3ce1c564f02f686f1ee9e
(cherry picked from commit 0f8670ecebcf2af9c98b805c5e446ff073354d92)
Reviewed-on: https://gerrit.libreoffice.org/38704
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/ComboBox.cxx | 3 | ||||
-rw-r--r-- | forms/source/component/ListBox.cxx | 3 | ||||
-rw-r--r-- | forms/source/misc/property.cxx | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/forms/source/component/ComboBox.cxx b/forms/source/component/ComboBox.cxx index cc64d8bba73a..b5c43633077f 100644 --- a/forms/source/component/ComboBox.cxx +++ b/forms/source/component/ComboBox.cxx @@ -296,13 +296,14 @@ sal_Bool OComboBoxModel::convertFastPropertyValue( void OComboBoxModel::describeFixedProperties( Sequence< Property >& _rProps ) const { - BEGIN_DESCRIBE_PROPERTIES( 6, OBoundControlModel ) + BEGIN_DESCRIBE_PROPERTIES( 7, OBoundControlModel ) DECL_PROP1(TABINDEX, sal_Int16, BOUND); DECL_PROP1(LISTSOURCETYPE, ListSourceType, BOUND); DECL_PROP1(LISTSOURCE, OUString, BOUND); DECL_BOOL_PROP1(EMPTY_IS_NULL, BOUND); DECL_PROP1(DEFAULT_TEXT, OUString, BOUND); DECL_PROP1(STRINGITEMLIST, Sequence< OUString >,BOUND); + DECL_PROP1(TYPEDITEMLIST, Sequence< Any >, BOUND); END_DESCRIBE_PROPERTIES(); } diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index a57322ed5ced..bfd531624d2c 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -484,7 +484,7 @@ namespace frm void OListBoxModel::describeFixedProperties( Sequence< Property >& _rProps ) const { - BEGIN_DESCRIBE_PROPERTIES( 9, OBoundControlModel ) + BEGIN_DESCRIBE_PROPERTIES( 10, OBoundControlModel ) DECL_PROP1(TABINDEX, sal_Int16, BOUND); DECL_PROP2(BOUNDCOLUMN, sal_Int16, BOUND, MAYBEVOID); DECL_PROP1(LISTSOURCETYPE, ListSourceType, BOUND); @@ -494,6 +494,7 @@ namespace frm DECL_PROP2(SELECT_VALUE, Any, BOUND, TRANSIENT); DECL_PROP1(DEFAULT_SELECT_SEQ, Sequence<sal_Int16>, BOUND); DECL_PROP1(STRINGITEMLIST, Sequence< OUString >, BOUND); + DECL_PROP1(TYPEDITEMLIST, Sequence< Any >, BOUND); END_DESCRIBE_PROPERTIES(); } diff --git a/forms/source/misc/property.cxx b/forms/source/misc/property.cxx index 10f0caf31218..9fed981242e9 100644 --- a/forms/source/misc/property.cxx +++ b/forms/source/misc/property.cxx @@ -91,6 +91,7 @@ void PropertyInfoService::initialize() EXPAND_PROP_INIT(TARGET_FRAME), EXPAND_PROP_INIT(BUTTONTYPE), EXPAND_PROP_INIT(STRINGITEMLIST), + EXPAND_PROP_INIT(TYPEDITEMLIST), EXPAND_PROP_INIT(DEFAULT_TEXT), EXPAND_PROP_INIT(DEFAULT_STATE), EXPAND_PROP_INIT(DEFAULT_DATE), |