summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-06-16 10:37:02 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2020-07-02 12:45:11 +0200
commit2581a31ee06b03d3524f7c668e3cc42c99129482 (patch)
treef990ada93441842ca80e458443ce0447e5591c8d /sfx2
parenta330d8eef09a3135bf6ae94b31b7ea944f256bdc (diff)
notebookbar: don't hide elements for online
Change-Id: Icbef09e9e012d88372b164d2f69f80b06161772b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96920 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97731 Tested-by: Jenkins
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/notebookbar/PriorityHBox.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/notebookbar/PriorityHBox.cxx b/sfx2/source/notebookbar/PriorityHBox.cxx
index 763114c72932..a0f5052ccd44 100644
--- a/sfx2/source/notebookbar/PriorityHBox.cxx
+++ b/sfx2/source/notebookbar/PriorityHBox.cxx
@@ -21,6 +21,7 @@
#include <vcl/layout.hxx>
#include <sfx2/viewfrm.hxx>
#include "PriorityHBox.hxx"
+#include <comphelper/lok.hxx>
namespace
{
@@ -113,7 +114,7 @@ void PriorityHBox::Resize()
if (!m_bInitialized && SfxViewFrame::Current())
Initialize();
- if (!m_bInitialized)
+ if (!m_bInitialized || comphelper::LibreOfficeKit::isActive())
{
return VclHBox::Resize();
}