diff options
author | Andrzej J. R. Hunt <andrzej@ahunt.org> | 2012-07-19 15:36:24 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-08-06 10:22:58 +0100 |
commit | 405416e0b3e7d68963fc8c24512299c2cb117fca (patch) | |
tree | 0a3a096aa1928237b595d1180b57c4df76d169cb /sd/source/ui/slideshow | |
parent | 4967e88b9adf73f538a379f0a215b0e0b6c2a968 (diff) |
Fixed Listener registration and destruction for all cases.
Change-Id: I I I8be3c67889969d714514ca073c48ab26248a30e1
Diffstat (limited to 'sd/source/ui/slideshow')
-rw-r--r-- | sd/source/ui/slideshow/slideshow.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/slideshow/slideshow.cxx b/sd/source/ui/slideshow/slideshow.cxx index 32bbfe042623..9551137519f7 100644 --- a/sd/source/ui/slideshow/slideshow.cxx +++ b/sd/source/ui/slideshow/slideshow.cxx @@ -268,7 +268,7 @@ void SlideShow::CreateController( ViewShell* pViewSh, ::sd::View* pView, ::Wind // multiple slide show instances for one document. mxController = xController; mbIsInStartup = false; - Server::presentationStarted( getController() ); + } // -------------------------------------------------------------------- @@ -1073,6 +1073,8 @@ void SlideShow::activate( ViewShellBase& rBase ) if( mxController.is() ) mxController->activate(); + + Server::presentationStarted( mxController.get() ); } // --------------------------------------------------------- |