diff options
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/ComboBox.cxx | 12 | ||||
-rw-r--r-- | forms/source/component/ComboBox.hxx | 2 | ||||
-rw-r--r-- | forms/source/component/ListBox.cxx | 14 | ||||
-rw-r--r-- | forms/source/component/ListBox.hxx | 2 | ||||
-rw-r--r-- | forms/source/component/entrylisthelper.cxx | 17 | ||||
-rw-r--r-- | forms/source/component/entrylisthelper.hxx | 8 |
6 files changed, 0 insertions, 55 deletions
diff --git a/forms/source/component/ComboBox.cxx b/forms/source/component/ComboBox.cxx index 92652c7cd647..71b8a25efc58 100644 --- a/forms/source/component/ComboBox.cxx +++ b/forms/source/component/ComboBox.cxx @@ -830,18 +830,6 @@ void OComboBoxModel::stringItemListChanged( ControlModelLock& /*_rInstanceLock*/ } -void OComboBoxModel::connectedExternalListSource( ) -{ - // TODO? -} - - -void OComboBoxModel::disconnectedExternalListSource( ) -{ - // TODO? -} - - void OComboBoxModel::refreshInternalEntryList() { DBG_ASSERT( !hasExternalListSource(), "OComboBoxModel::refreshInternalEntryList: invalid call!" ); diff --git a/forms/source/component/ComboBox.hxx b/forms/source/component/ComboBox.hxx index 6e84fba4b57d..06b77f762d5f 100644 --- a/forms/source/component/ComboBox.hxx +++ b/forms/source/component/ComboBox.hxx @@ -124,8 +124,6 @@ private: // OEntryListHelper overridables virtual void stringItemListChanged( ControlModelLock& _rInstanceLock ) override; - virtual void connectedExternalListSource( ) override; - virtual void disconnectedExternalListSource( ) override; virtual void refreshInternalEntryList() override; void loadData( bool _bForce ); diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index 67c4c3615c90..2b3a6a4a82ba 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -1765,20 +1765,6 @@ namespace frm } - void OListBoxModel::connectedExternalListSource( ) - { - // TODO? - } - - - void OListBoxModel::disconnectedExternalListSource( ) - { - // TODO: in case we're part of an already loaded form, we should probably simulate - // an onConnectedDbColumn, so our list gets filled with the data as indicated - // by our SQL-binding related properties - } - - void OListBoxModel::impl_refreshDbEntryList( bool _bForce ) { DBG_ASSERT( !hasExternalListSource(), "OListBoxModel::impl_refreshDbEntryList: invalid call!" ); diff --git a/forms/source/component/ListBox.hxx b/forms/source/component/ListBox.hxx index d0c9173e2468..42a41d522444 100644 --- a/forms/source/component/ListBox.hxx +++ b/forms/source/component/ListBox.hxx @@ -196,8 +196,6 @@ private: // OEntryListHelper overridables virtual void stringItemListChanged( ControlModelLock& _rInstanceLock ) override; - virtual void connectedExternalListSource( ) override; - virtual void disconnectedExternalListSource( ) override; virtual void refreshInternalEntryList() override; virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) override; diff --git a/forms/source/component/entrylisthelper.cxx b/forms/source/component/entrylisthelper.cxx index 0016d65bba31..fcb66644d6ca 100644 --- a/forms/source/component/entrylisthelper.cxx +++ b/forms/source/component/entrylisthelper.cxx @@ -240,20 +240,6 @@ namespace frm m_xListSource->removeListEntryListener( this ); m_xListSource.clear(); - - disconnectedExternalListSource(); - } - - - void OEntryListHelper::connectedExternalListSource( ) - { - // nothing to do here - } - - - void OEntryListHelper::disconnectedExternalListSource( ) - { - // nothing to do here } @@ -272,9 +258,6 @@ namespace frm m_xListSource->addListEntryListener( this ); obtainListSourceEntries( _rInstanceLock ); - - // let derivees react on the new list source - connectedExternalListSource(); } } diff --git a/forms/source/component/entrylisthelper.hxx b/forms/source/component/entrylisthelper.hxx index be2759410e86..929c4d5bd320 100644 --- a/forms/source/component/entrylisthelper.hxx +++ b/forms/source/component/entrylisthelper.hxx @@ -133,14 +133,6 @@ namespace frm */ virtual void stringItemListChanged( ControlModelLock& _rInstanceLock ) = 0; - /** called whenever a connection to a new external list source has been established - */ - virtual void connectedExternalListSource( ); - - /** called whenever a connection to a new external list source has been revoked - */ - virtual void disconnectedExternalListSource( ); - /** called when XRefreshable::refresh has been called, and we do *not* have an external list source */ |