diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-11-24 14:56:41 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2020-11-24 18:20:38 +0100 |
commit | 50e588ba7ff5e37ddbcdd97d10bf90613661356d (patch) | |
tree | b946c80909afa29a0d89845ff052ddd50bdc15dc /sfx2 | |
parent | d5ede20e0a7be77ba0415996395cade8db04f797 (diff) |
notebookbar: don't hide elements for online
Change-Id: If0c48c6ab674ac282c23beac9cc115b0b404b0a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106504
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/notebookbar/PriorityMergedHBox.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/source/notebookbar/PriorityMergedHBox.cxx b/sfx2/source/notebookbar/PriorityMergedHBox.cxx index d74d40f8a366..a5472f71ad7b 100644 --- a/sfx2/source/notebookbar/PriorityMergedHBox.cxx +++ b/sfx2/source/notebookbar/PriorityMergedHBox.cxx @@ -24,6 +24,7 @@ #include "PriorityHBox.hxx" #include "NotebookbarPopup.hxx" #include <sfx2/viewfrm.hxx> +#include <comphelper/lok.hxx> #define DUMMY_WIDTH 50 #define BUTTON_WIDTH 30 @@ -58,6 +59,9 @@ public: virtual void Resize() override { + if (comphelper::LibreOfficeKit::isActive()) + return VclHBox::Resize(); + if (!m_bInitialized && SfxViewFrame::Current()) Initialize(); |