sw/source/ui/frmdlg/frmdlg.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit fbd8ea5375096abdbab49bd564b6f5fc93bc6907
Author:     Pranam Lashkari <lpra...@collabora.com>
AuthorDate: Mon Apr 27 14:52:31 2020 +0530
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Tue Apr 28 17:23:51 2020 +0200

    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.ti...@collabora.com>

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");
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to