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 /include | |
parent | starmath: Convert SmParseError to scoped enum (diff) | |
download | core-f1af784134b17458b4ca24891d27926feabc67e3.tar.gz core-f1af784134b17458b4ca24891d27926feabc67e3.zip |
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 'include')
-rw-r--r-- | include/sfx2/notebookbar/SfxNotebookBar.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sfx2/notebookbar/SfxNotebookBar.hxx b/include/sfx2/notebookbar/SfxNotebookBar.hxx index 471e806d96c3..8792eecf3a4f 100644 --- a/include/sfx2/notebookbar/SfxNotebookBar.hxx +++ b/include/sfx2/notebookbar/SfxNotebookBar.hxx @@ -37,6 +37,11 @@ public: const css::uno::Reference<css::frame::XFrame> & xFrame, const OUString& rUIFile); + /// Method temporarily blocks showing of the NotebookBar + static void LockNotebookBar(); + /// Method restores normal behaviour of the Notebookbar + static void UnlockNotebookBar(); + static void RemoveListeners(SystemWindow* pSysWindow); static void ShowMenubar(bool bShow); @@ -44,6 +49,7 @@ public: private: static bool m_bLock; + static bool m_bHide; DECL_STATIC_LINK(SfxNotebookBar, OpenNotebookbarPopupMenu, NotebookBar*, void); }; |