diff options
author | Henry Castro <hcastro@collabora.com> | 2021-11-12 11:30:13 -0400 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-11-14 16:31:40 +0100 |
commit | cb1fb692a9d3e571ed8347e2215c67ecde845be6 (patch) | |
tree | f3e0ca42dad3d99d4ad729e6d1b9af4684467791 /sw/source | |
parent | c88c2d40d1a4aebc46b25368b80c02bc2f136658 (diff) |
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 <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit ead2aa7a7088aa2b41a90746351fdf74822dbbe0)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125129
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/fldui/fldtdlg.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/ui/fldui/fldtdlg.cxx b/sw/source/ui/fldui/fldtdlg.cxx index fefd2eb8cd3a..cafe64808497 100644 --- a/sw/source/ui/fldui/fldtdlg.cxx +++ b/sw/source/ui/fldui/fldtdlg.cxx @@ -38,6 +38,7 @@ #include <view.hxx> #include <fldtdlg.hxx> #include <swmodule.hxx> +#include <comphelper/lok.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/document/XDocumentProperties.hpp> @@ -90,6 +91,9 @@ SwFieldDlg::SwFieldDlg(SfxBindings* pB, SwChildWinWrapper* pCW, weld::Window *pP RemoveTabPage("functions"); RemoveTabPage("database"); } + + if (comphelper::LibreOfficeKit::isActive()) + RemoveTabPage("database"); } SwFieldDlg::~SwFieldDlg() |