diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-03 14:36:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-05 09:17:43 +0200 |
commit | d61b787c84f80bb35b545cde069f0ca621dfc9fb (patch) | |
tree | 0db169fc784b287f7459cb518abbf6ca2e3f55e5 /chart2/source/tools | |
parent | 43c5a22e63bb30374f9d161c7bf8dac095733536 (diff) |
remove unused code chart::ModifyListenerCallBack::startListening
Change-Id: I43de71815d13bf359926dc6c6d63eb5a933ca712
Diffstat (limited to 'chart2/source/tools')
-rw-r--r-- | chart2/source/tools/ModifyListenerCallBack.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/chart2/source/tools/ModifyListenerCallBack.cxx b/chart2/source/tools/ModifyListenerCallBack.cxx index 3dcd37a05faa..0b0aed64e47c 100644 --- a/chart2/source/tools/ModifyListenerCallBack.cxx +++ b/chart2/source/tools/ModifyListenerCallBack.cxx @@ -38,7 +38,6 @@ public: explicit ModifyListenerCallBack_impl( const Link& rCallBack ); virtual ~ModifyListenerCallBack_impl(); - void startListening( const Reference< util::XModifyBroadcaster >& xBroadcaster ); void stopListening(); //XModifyListener @@ -77,16 +76,6 @@ void SAL_CALL ModifyListenerCallBack_impl::disposing( const lang::EventObject& / m_xBroadcaster.clear(); } -void ModifyListenerCallBack_impl::startListening( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyBroadcaster >& xBroadcaster ) -{ - if( m_xBroadcaster == xBroadcaster ) - return; - - stopListening(); - m_xBroadcaster = xBroadcaster; - if( m_xBroadcaster.is() ) - m_xBroadcaster->addModifyListener( this ); -} void ModifyListenerCallBack_impl::stopListening() { if( m_xBroadcaster.is() ) @@ -107,10 +96,6 @@ ModifyListenerCallBack::~ModifyListenerCallBack() stopListening(); } -void ModifyListenerCallBack::startListening( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyBroadcaster >& xBroadcaster ) -{ - pModifyListener_impl->startListening( xBroadcaster ); -} void ModifyListenerCallBack::stopListening() { pModifyListener_impl->stopListening(); |