sfx2/source/doc/docmacromode.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit deeb9a9ea982501761e4d1b9118eea76f386f86e
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Tue Nov 7 10:09:23 2023 +0300
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Tue Nov 7 13:25:26 2023 +0100

    getCurrentMacroExecMode returns sal_Int16
    
    And that conforms the IDL definition of css::document::MacroExecMode
    
    Change-Id: I78ebfa94eb50552e7f4ecf3d64a0ac0556c56867
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159029
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/sfx2/source/doc/docmacromode.cxx b/sfx2/source/doc/docmacromode.cxx
index e25e97505181..77c3e4ca22f9 100644
--- a/sfx2/source/doc/docmacromode.cxx
+++ b/sfx2/source/doc/docmacromode.cxx
@@ -111,7 +111,7 @@ namespace sfx2
 
     bool DocumentMacroMode::adjustMacroMode( const Reference< 
XInteractionHandler >& rxInteraction, bool bHasValidContentSignature )
     {
-        sal_uInt16 nMacroExecutionMode = 
m_xData->m_rDocumentAccess.getCurrentMacroExecMode();
+        sal_Int16 nMacroExecutionMode = 
m_xData->m_rDocumentAccess.getCurrentMacroExecMode();
 
         if ( SvtSecurityOptions::IsMacroDisabled() )
         {

Reply via email to