summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2020-04-27 14:52:31 +0530
committerAndras Timar <andras.timar@collabora.com>2020-04-28 17:23:51 +0200
commitfbd8ea5375096abdbab49bd564b6f5fc93bc6907 (patch)
tree28d8417b0069abd98583e827c2e6c576674bbd34 /sw/source
parent5750be8cf82b6933cb0b44ffe5ad307da1b4a0eb (diff)
remove macro tab for image dialog in online
Change-Id: I02de19e8048fd045a6ef6bdcc655c9911f0f9f01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92971 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/frmdlg/frmdlg.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/ui/frmdlg/frmdlg.cxx b/sw/source/ui/frmdlg/frmdlg.cxx
index 0d9140d46251..f2f13a682166 100644
--- a/sw/source/ui/frmdlg/frmdlg.cxx
+++ b/sw/source/ui/frmdlg/frmdlg.cxx
@@ -37,6 +37,7 @@
#include <svx/svxids.hrc>
#include <svx/flagsdef.hxx>
#include <svx/drawitem.hxx>
+#include <comphelper/lok.hxx>
// the dialog's carrier
SwFrameDlg::SwFrameDlg(SfxViewFrame const * pViewFrame,
@@ -107,6 +108,9 @@ SwFrameDlg::SwFrameDlg(SfxViewFrame const * pViewFrame,
}
}
+ if(comphelper::LibreOfficeKit::isActive())
+ RemoveTabPage("macro");
+
if (m_bNew)
SetCurPageId("type");