diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-12-04 13:42:19 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2020-12-08 13:22:23 +0100 |
commit | 29f2e1543089c3caadeb5e0f6f69624566810044 (patch) | |
tree | 815bf73d45f85e7a8a33e0ecd008a98223dea3f3 /sc | |
parent | 02708dab4eb244061133059f6c37bb070d9c826b (diff) |
pivot table: hide database source in online
Change-Id: Ifc9fdb6010f9a998ffd2d6eeaa562528563f0666
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107219
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107404
Tested-by: Jenkins
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dbgui/dapitype.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/dbgui/dapitype.cxx b/sc/source/ui/dbgui/dapitype.cxx index d4e817b2404d..9ce2626bb8c4 100644 --- a/sc/source/ui/dbgui/dapitype.cxx +++ b/sc/source/ui/dbgui/dapitype.cxx @@ -20,6 +20,7 @@ #undef SC_DLLIMPLEMENTATION #include <dapitype.hxx> +#include <comphelper/lok.hxx> using namespace com::sun::star; @@ -47,6 +48,9 @@ ScDataPilotSourceTypeDlg::ScDataPilotSourceTypeDlg(weld::Window* pParent, bool b // Intentionally hide this button to see if anyone complains. m_xBtnExternal->hide(); + + if (comphelper::LibreOfficeKit::isActive()) + m_xBtnDatabase->hide(); } ScDataPilotSourceTypeDlg::~ScDataPilotSourceTypeDlg() |