[Libreoffice-commits] core.git: desktop/source
Henry Castro (via logerrit)
logerrit at kemper.freedesktop.org
Tue Apr 6 18:30:56 UTC 2021
desktop/source/lib/init.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b9554a6b20e248c5799a04232545709a77f6ad58
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Mon Mar 1 10:25:09 2021 -0400
Commit: Henry Castro <hcastro at collabora.com>
CommitDate: Tue Apr 6 20:30:16 2021 +0200
lok: disable macro execution
Change-Id: I97a1fd7992d6be57e54c186045e62c3402b99375
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111752
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113685
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro at collabora.com>
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 0112f503cc65..cba9af2b947c 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2265,7 +2265,7 @@ static LibreOfficeKitDocument* lo_documentLoadWithOptions(LibreOfficeKit* pThis,
aFilterOptions[1].Name = "InteractionHandler";
aFilterOptions[1].Value <<= xInteraction;
- sal_Int16 nMacroExecMode = document::MacroExecMode::USE_CONFIG;
+ sal_Int16 nMacroExecMode = document::MacroExecMode::NEVER_EXECUTE;
aFilterOptions[2].Name = "MacroExecutionMode";
aFilterOptions[2].Value <<= nMacroExecMode;
More information about the Libreoffice-commits
mailing list