diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2017-02-18 13:27:28 +0100 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2017-02-19 14:28:49 +0000 |
commit | f1af784134b17458b4ca24891d27926feabc67e3 (patch) | |
tree | 1e704e7dde8148a4ea5f84ee4a962758d7081e41 /sd | |
parent | 1f02e9b5a71836aa750d8e6676d2e876cad5e7a2 (diff) |
tdf#103355 Hide Notebookbar during slide show
Change-Id: Ie3e1b9f9dfc109ecb48cd384972dfa5a5118c3fa
Reviewed-on: https://gerrit.libreoffice.org/34401
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/drviewse.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx index 1e0d809efd68..59795acc7ed2 100644 --- a/sd/source/ui/view/drviewse.cxx +++ b/sd/source/ui/view/drviewse.cxx @@ -60,6 +60,7 @@ #include <avmedia/mediawindow.hxx> #include <svl/urihelper.hxx> #include <sfx2/docfile.hxx> +#include <sfx2/notebookbar/SfxNotebookBar.hxx> #include "DrawViewShell.hxx" #include "slideshow.hxx" @@ -722,8 +723,12 @@ 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; |