sw/source/uibase/sidebar/TableEditPanel.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit f532087b4787ac0b6564cd3a002e59c8709082c6 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Mon Sep 7 09:40:29 2020 +0200 Commit: Szymon Kłos <szymon.k...@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 <jenkinscollaboraoff...@gmail.com> Reviewed-by: Szymon Kłos <szymon.k...@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(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits