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-04 14:00:26 +0100 |
commit | 13504aab04e01a14580b35c9f1a24db6fa6e720e (patch) | |
tree | beb1dba3c4805ae3af9c8d42d4ce6d57eb8ec0f2 /sc | |
parent | 922c1f7e41503abaefe4b65441526c1ddca731e0 (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>
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 411ff96872c0..15acb8c65553 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; @@ -52,6 +53,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(); } IMPL_LINK(ScDataPilotSourceTypeDlg, ResponseHdl, weld::Button&, rButton, void) |