[Libreoffice-commits] core.git: sw/source
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 17 11:34:18 UTC 2020
sw/source/uibase/sidebar/TableEditPanel.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit f532087b4787ac0b6564cd3a002e59c8709082c6
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon Sep 7 09:40:29 2020 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Thu Sep 17 13:33:43 2020 +0200
Hide InsertFormula in Writer online
Change-Id: I5875559b46d242434b8e47f214e7f7f7a4a3db6d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102146
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/+/102861
Tested-by: Jenkins
diff --git a/sw/source/uibase/sidebar/TableEditPanel.cxx b/sw/source/uibase/sidebar/TableEditPanel.cxx
index 46f75cd9a9d6..896f09412219 100644
--- a/sw/source/uibase/sidebar/TableEditPanel.cxx
+++ b/sw/source/uibase/sidebar/TableEditPanel.cxx
@@ -19,6 +19,7 @@
#include <svx/dlgctrl.hxx>
#include <swmodule.hxx>
#include <usrpref.hxx>
+#include <comphelper/lok.hxx>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
@@ -134,6 +135,9 @@ TableEditPanel::TableEditPanel(vcl::Window* pParent,
InitRowHeightToolitem();
InitColumnWidthToolitem();
+
+ if (comphelper::LibreOfficeKit::isActive())
+ m_xMisc->set_item_visible(".uno:InsertFormula", true);
}
TableEditPanel::~TableEditPanel() { disposeOnce(); }
More information about the Libreoffice-commits
mailing list