sw/source/ui/frmdlg/frmdlg.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 51d192a3bfa24dc979f7ad6178803d3262290b46 Author: Pranam Lashkari <lpra...@collabora.com> AuthorDate: Sun Apr 26 23:25:47 2020 +0530 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Mon Apr 27 09:34:24 2020 +0200 remove macro tab for image dialog in online Change-Id: I02de19e8048fd045a6ef6bdcc655c9911f0f9f01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92958 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Andras Timar <andras.ti...@collabora.com> 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"); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits