diff options
author | Henry Castro <hcastro@collabora.com> | 2021-03-01 10:25:09 -0400 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-04-10 22:16:05 +0200 |
commit | 364ae0dda5d2ac67e679b43ac2700a59b4534839 (patch) | |
tree | aa9c36ab7d619cc06e79082a0d9ed3c8a40c7bc7 /desktop | |
parent | 8d5d3f4fa978288de212b4822833843d3e201f78 (diff) |
lok: disable macro execution
Change-Id: I97a1fd7992d6be57e54c186045e62c3402b99375
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111752
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113685
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 0d1b7999dae1..058ff56be341 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; |