diff options
author | Pranam Lashkari <lpranam@collabora.com> | 2020-04-26 23:25:47 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-04-27 09:34:24 +0200 |
commit | 51d192a3bfa24dc979f7ad6178803d3262290b46 (patch) | |
tree | ced9f4c198934421ba7c601a137b8c165ec9a870 | |
parent | 2d1a0e36ec2eb851b487e75d3103bc76359bb1dd (diff) |
remove macro tab for image dialog in online
Change-Id: I02de19e8048fd045a6ef6bdcc655c9911f0f9f01
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92958
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r-- | sw/source/ui/frmdlg/frmdlg.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/ui/frmdlg/frmdlg.cxx b/sw/source/ui/frmdlg/frmdlg.cxx index 2deb04142e7e..ca59c421b394 100644 --- a/sw/source/ui/frmdlg/frmdlg.cxx +++ b/sw/source/ui/frmdlg/frmdlg.cxx @@ -42,6 +42,7 @@ #include <svx/drawitem.hxx> #include <svx/xfillit0.hxx> #include <svx/xflgrit.hxx> +#include <comphelper/lok.hxx> // the dialog's carrier SwFrameDlg::SwFrameDlg(SfxViewFrame const * pViewFrame, @@ -112,6 +113,9 @@ SwFrameDlg::SwFrameDlg(SfxViewFrame const * pViewFrame, } } + if(comphelper::LibreOfficeKit::isActive()) + RemoveTabPage("macro"); + if (m_bNew) SetCurPageId("type"); |