[Libreoffice-commits] core.git: sfx2/source
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 2 10:46:00 UTC 2020
sfx2/source/notebookbar/PriorityHBox.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 2581a31ee06b03d3524f7c668e3cc42c99129482
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Tue Jun 16 10:37:02 2020 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Thu Jul 2 12:45:11 2020 +0200
notebookbar: don't hide elements for online
Change-Id: Icbef09e9e012d88372b164d2f69f80b06161772b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96920
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97731
Tested-by: Jenkins
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();
}
More information about the Libreoffice-commits
mailing list