summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-11-07 10:09:23 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-11-07 13:25:26 +0100
commitdeeb9a9ea982501761e4d1b9118eea76f386f86e (patch)
treec7b2451496de53e0bf38333bbf348aabd6102153 /sfx2
parent59c7713e3a4fed3c67aa8df73203908c7816931a (diff)
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.kaganski@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/docmacromode.cxx2
1 files changed, 1 insertions, 1 deletions
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() )
{