[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - desktop/source

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Wed Mar 3 15:12:15 UTC 2021


 desktop/source/lib/init.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d1418cedc46cb90fea09c7b4bb2f50dd185b2c51
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Mon Mar 1 10:25:09 2021 -0400
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Wed Mar 3 16:11:42 2021 +0100

    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>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 8cd4503ed189..af9c9ed1c41b 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2274,7 +2274,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