[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - forms/source

Eike Rathke erack at redhat.com
Mon Jun 12 18:16:54 UTC 2017


 forms/source/component/ComboBox.cxx |    3 ++-
 forms/source/component/ListBox.cxx  |    3 ++-
 forms/source/misc/property.cxx      |    1 +
 3 files changed, 5 insertions(+), 2 deletions(-)

New commits:
commit a1d695fb6a4f5a9711d072cca42ca90bff37858a
Author: Eike Rathke <erack at redhat.com>
Date:   Mon Jun 12 17:22:35 2017 +0200

    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 at redhat.com>
    Tested-by: Jenkins <ci at libreoffice.org>

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),


More information about the Libreoffice-commits mailing list