diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-11-07 16:05:07 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-11-07 17:41:49 +0100 |
commit | 89780c208837973e21ddbf098d77f4369018ee9e (patch) | |
tree | 62fb9fa37ddce6bb2a500969d004afce567a99de /sw/source/uibase/index | |
parent | 505f97b5b23954d689d55640977da6ec1af523b9 (diff) |
Pass XInteractionHandler to hasTrustedScriptingSignature instead of a bool
This allows to use the same interaction handler there, as used in
DocumentMacroMode::adjustMacroMode. hasTrustedScriptingSignature
used to find its own interaction handler; and that would conflict
with e.g. ODatabaseModelImpl::adjustMacroMode_AutoReject, which
passes nullptr to adjustMacroMode, with intention to not show any
UI; but with signed macros (see tdf#97694), the UI would still
appear.
Change-Id: Ia209f96bef67dccfe1da23c4d172ac47497f8eb1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159070
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/source/uibase/index')
0 files changed, 0 insertions, 0 deletions