summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2011-11-07 19:12:59 +0000
committerPedro Giffuni <pfg@apache.org>2011-11-07 19:12:59 +0000
commit2ca577961d260ce6375eb63ec5185962250e5202 (patch)
tree6a706c63649d141995110c776570d33115060bc3 /sd
parentf7a4435086e8dd21a78b7b1a00147616fe6c5242 (diff)
i94007 - Revert r1195527 at author's request.
Diffstat (limited to 'sd')
-rwxr-xr-xsd/source/ui/slideshow/slideshow.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/sd/source/ui/slideshow/slideshow.cxx b/sd/source/ui/slideshow/slideshow.cxx
index e52d99087e1a..4a2b5319d3a6 100755
--- a/sd/source/ui/slideshow/slideshow.cxx
+++ b/sd/source/ui/slideshow/slideshow.cxx
@@ -731,12 +731,6 @@ void SAL_CALL SlideShow::end() throw(RuntimeException)
ViewShellBase* pFullScreenViewShellBase = mpFullScreenViewShellBase;
mpFullScreenViewShellBase = 0;
- // dispose before fullscreen window changes screens
- // (potentially). If this needs to be moved behind
- // pWorkWindow->StartPresentationMode() again, read issue
- // i94007 & implement the solution outlined there.
- xController->dispose();
-
if( pFullScreenViewShellBase )
{
PresentationViewShell* pShell = dynamic_cast<PresentationViewShell*>(pFullScreenViewShellBase->GetMainViewShell().get());
@@ -751,6 +745,8 @@ void SAL_CALL SlideShow::end() throw(RuntimeException)
}
}
+ xController->dispose();
+
if( pFullScreenViewShellBase )
{
PresentationViewShell* pShell = NULL;