diff options
-rw-r--r-- | sd/source/ui/view/drviewse.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx index 54b3628826cc..52a244635ddb 100644 --- a/sd/source/ui/view/drviewse.cxx +++ b/sd/source/ui/view/drviewse.cxx @@ -720,12 +720,8 @@ void DrawViewShell::FuSupport(SfxRequest& rReq) case SID_PRESENTATION_CURRENT_SLIDE: case SID_REHEARSE_TIMINGS: { - sfx2::SfxNotebookBar::LockNotebookBar(); - slideshowhelp::ShowSlideShow(rReq, *GetDoc()); rReq.Ignore (); - - sfx2::SfxNotebookBar::UnlockNotebookBar(); } break; @@ -1582,6 +1578,7 @@ namespace slideshowhelp Reference< XPresentation2 > xPresentation( rDoc.getPresentation() ); if( xPresentation.is() ) { + sfx2::SfxNotebookBar::LockNotebookBar(); if (SID_REHEARSE_TIMINGS == rReq.GetSlot()) xPresentation->rehearseTimings(); else if (rDoc.getPresentationSettings().mbCustomShow) @@ -1611,6 +1608,7 @@ namespace slideshowhelp xPresentation->startWithArguments( aArguments ); } + sfx2::SfxNotebookBar::UnlockNotebookBar(); } } } |