summaryrefslogtreecommitdiff
path: root/include/sfx2/notebookbar
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-10-27 17:47:01 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-10-29 08:23:34 +0100
commit81695542af1dc2cc74f16a1ce4b4dd540a64817b (patch)
treee2f181f2aee4087ce1527ff50518ca12e4fafd8b /include/sfx2/notebookbar
parent128ecffe53394c1f045521c2efb42ea03a319f4b (diff)
tdf#120874 Don't show menubar in other windows when one is closed
Change-Id: Id0b1af277bd7ec367525663ec6d478d67cde0a40 Reviewed-on: https://gerrit.libreoffice.org/62431 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/sfx2/notebookbar')
-rw-r--r--include/sfx2/notebookbar/SfxNotebookBar.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sfx2/notebookbar/SfxNotebookBar.hxx b/include/sfx2/notebookbar/SfxNotebookBar.hxx
index e3c397a5bd62..08633bf27352 100644
--- a/include/sfx2/notebookbar/SfxNotebookBar.hxx
+++ b/include/sfx2/notebookbar/SfxNotebookBar.hxx
@@ -11,6 +11,7 @@
#define INCLUDED_SFX2_NOTEBOOKBAR_SFXNOTEBOOKBAR_HXX
#include <sfx2/dllapi.h>
+#include <sfx2/viewfrm.hxx>
#include <vcl/notebookbar.hxx>
class SfxBindings;
@@ -43,7 +44,10 @@ public:
static void RemoveListeners(SystemWindow const * pSysWindow);
+ /** Show menu bar in all frames of current application */
static void ShowMenubar(bool bShow);
+ /** Show menu bar only in current frame */
+ static void ShowMenubar(SfxViewFrame* pViewFrame, bool bShow);
static void ToggleMenubar();
private: