diff options
Diffstat (limited to 'forms/source/component/ListBox.cxx')
-rw-r--r-- | forms/source/component/ListBox.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index 5b75332b090a..e6c6bb32a3ce 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -147,6 +147,11 @@ namespace frm ).getTypes(); } + // stuff common to all constructors + void OListBoxModel::init() + { + startAggregatePropertyListening( PROPERTY_STRINGITEMLIST ); + } DBG_NAME(OListBoxModel); //------------------------------------------------------------------ @@ -166,7 +171,7 @@ namespace frm m_aBoundColumn <<= (sal_Int16)1; initValueProperty( PROPERTY_SELECT_SEQ, PROPERTY_ID_SELECT_SEQ); - startAggregatePropertyListening( PROPERTY_STRINGITEMLIST ); + init(); } //------------------------------------------------------------------ @@ -185,7 +190,7 @@ namespace frm { DBG_CTOR(OListBoxModel,NULL); - startAggregatePropertyListening( PROPERTY_STRINGITEMLIST ); + init(); } //------------------------------------------------------------------ |