diff options
author | Elton Chung <elton@layerjet.com> | 2012-03-04 15:27:27 +0800 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-05 10:35:50 +0200 |
commit | a1a1131c16227327d17bcf5ad2a5209ddc0f01a1 (patch) | |
tree | 5766be6474c0ce1ecccb00024260a0487110b639 /toolkit | |
parent | 2bdac353ce7e28611b546bcc8a5ea236c891f944 (diff) |
Remove unused code
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/inc/toolkit/controls/unocontrols.hxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrols.cxx | 17 |
2 files changed, 1 insertions, 18 deletions
diff --git a/toolkit/inc/toolkit/controls/unocontrols.hxx b/toolkit/inc/toolkit/controls/unocontrols.hxx index 5f77c4a543f8..973c12dc0a1e 100644 --- a/toolkit/inc/toolkit/controls/unocontrols.hxx +++ b/toolkit/inc/toolkit/controls/unocontrols.hxx @@ -916,8 +916,6 @@ protected: virtual void ImplSetPeerProperty( const ::rtl::OUString& rPropName, const ::com::sun::star::uno::Any& rVal ); virtual void updateFromModel(); - ActionListenerMultiplexer& getActionListeners(); - ItemListenerMultiplexer& getItemListeners(); private: ActionListenerMultiplexer maActionListeners; ItemListenerMultiplexer maItemListeners; diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index 2e87784d282e..01be8cceefa6 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -2718,14 +2718,7 @@ void SAL_CALL UnoListBoxControl::itemListChanged( const lang::EventObject& i_rEv if ( xPeerListener.is() ) xPeerListener->itemListChanged( i_rEvent ); } -ActionListenerMultiplexer& UnoListBoxControl::getActionListeners() -{ - return maActionListeners; -} -ItemListenerMultiplexer& UnoListBoxControl::getItemListeners() -{ - return maItemListeners; -} + // ---------------------------------------------------- // class UnoControlComboBoxModel // ---------------------------------------------------- @@ -3001,14 +2994,6 @@ void SAL_CALL UnoComboBoxControl::itemListChanged( const lang::EventObject& i_rE if ( xPeerListener.is() ) xPeerListener->itemListChanged( i_rEvent ); } -ActionListenerMultiplexer& UnoComboBoxControl::getActionListeners() -{ - return maActionListeners; -} -ItemListenerMultiplexer& UnoComboBoxControl::getItemListeners() -{ - return maItemListeners; -} void UnoComboBoxControl::addItem( const ::rtl::OUString& aItem, sal_Int16 nPos ) throw(uno::RuntimeException) { |