From ead2aa7a7088aa2b41a90746351fdf74822dbbe0 Mon Sep 17 00:00:00 2001 From: Henry Castro Date: Fri, 12 Nov 2021 11:30:13 -0400 Subject: lok: sw: remove database tab It is not functional the database feature yet. Change-Id: Iea073512424a738dc2d789923740b837d6f3d691 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125113 Tested-by: Jenkins CollaboraOffice Reviewed-by: Andras Timar --- sw/source/ui/fldui/fldtdlg.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sw') diff --git a/sw/source/ui/fldui/fldtdlg.cxx b/sw/source/ui/fldui/fldtdlg.cxx index 8c1bb998fb85..5a0a8022262a 100644 --- a/sw/source/ui/fldui/fldtdlg.cxx +++ b/sw/source/ui/fldui/fldtdlg.cxx @@ -40,6 +40,7 @@ #include #include #include +#include #include @@ -93,6 +94,9 @@ SwFieldDlg::SwFieldDlg(SfxBindings* pB, SwChildWinWrapper* pCW, weld::Window *pP RemoveTabPage("functions"); RemoveTabPage("database"); } + + if (comphelper::LibreOfficeKit::isActive()) + RemoveTabPage("database"); } SwFieldDlg::~SwFieldDlg() -- cgit