sfx2/source/notebookbar/PriorityHBox.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 2581a31ee06b03d3524f7c668e3cc42c99129482 Author: Szymon Kłos <[email protected]> AuthorDate: Tue Jun 16 10:37:02 2020 +0200 Commit: Szymon Kłos <[email protected]> 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 <[email protected]> Reviewed-by: Szymon Kłos <[email protected]> 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(); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
