diff options
author | Noel Grandin <noel@peralex.com> | 2016-10-24 08:20:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-10-24 08:21:28 +0200 |
commit | 6f428c38c533026c9749f71ed3144db2d4575ab6 (patch) | |
tree | 31a758fa714bc2e2d070e343356307b67d8a4045 /svx | |
parent | 5c1bb338ef0d781648d5b33ffc9d64c2be6d9926 (diff) |
remove unused SfxListener subclassing
where the Notify method is doing nothing
Change-Id: I834aa40a9bcb0dd8d7335a5688acc5da6f40b0a2
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unopage.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx index 19a869bcfef7..e1cb31a38278 100644 --- a/svx/source/unodraw/unopage.cxx +++ b/svx/source/unodraw/unopage.cxx @@ -67,9 +67,6 @@ SvxDrawPage::SvxDrawPage( SdrPage* pInPage ) throw() // register at broadcaster if( mpPage ) mpModel = mpPage->GetModel(); - if( mpModel ) - StartListening( *mpModel ); - // create (hidden) view mpView = new SdrView( mpModel ); @@ -97,7 +94,6 @@ void SvxDrawPage::disposing() throw() { if( mpModel ) { - EndListening( *mpModel ); mpModel = nullptr; } @@ -186,11 +182,6 @@ void SAL_CALL SvxDrawPage::removeEventListener( const css::uno::Reference< css:: mrBHelper.removeListener( cppu::UnoType<decltype(aListener)>::get() , aListener ); } -// SfxListener -void SvxDrawPage::Notify( SfxBroadcaster&, const SfxHint& /*rHint*/ ) -{ -} - void SAL_CALL SvxDrawPage::add( const uno::Reference< drawing::XShape >& xShape ) throw( uno::RuntimeException, std::exception ) { @@ -877,12 +868,6 @@ void SvxDrawPage::ChangeModel( SdrModel* pNewModel ) { if( pNewModel != mpModel ) { - if( mpModel ) - EndListening( *mpModel ); - - if( pNewModel ) - StartListening( *pNewModel ); - mpModel = pNewModel; if( mpView ) |