[Libreoffice-commits] core.git: sw/source
Pranam Lashkari (via logerrit)
logerrit at kemper.freedesktop.org
Tue Apr 28 15:24:32 UTC 2020
sw/source/ui/frmdlg/frmdlg.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit fbd8ea5375096abdbab49bd564b6f5fc93bc6907
Author: Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Mon Apr 27 14:52:31 2020 +0530
Commit: Andras Timar <andras.timar at 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.timar at 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");
More information about the Libreoffice-commits
mailing list