diff options
author | Justin Luth <justin.luth@collabora.com> | 2022-10-08 12:15:35 -0400 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2022-10-11 20:39:04 +0200 |
commit | ffc15725b58d0988b4e2ed836c5751223ad00984 (patch) | |
tree | fccc8fe6d1e38b9d12f5dca96e0f71a8d3a5bf82 /include | |
parent | b320ef30977144c52de9b39bc4db0db540727c79 (diff) |
tdf#148806 tdf#151393 xls vba: no Auto_Open from ThisWorksheet
Unlike Word, ThisWorksheet cannot hold auto-running
subroutines for Open/Close/New.
This fixes a LO 7.4 regression caused by
commit beb6c62e990599d91ac5d9183164c94d269027d3.
Change-Id: Idb8f72775d9392b306cb924ee776821272b12f3b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141127
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/filter/msfilter/msvbahelper.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/filter/msfilter/msvbahelper.hxx b/include/filter/msfilter/msvbahelper.hxx index c1ad7fdae3a2..90f1f8a2b90f 100644 --- a/include/filter/msfilter/msvbahelper.hxx +++ b/include/filter/msfilter/msvbahelper.hxx @@ -60,7 +60,8 @@ MSFILTER_DLLPUBLIC OUString extractMacroName( std::u16string_view rMacroUrl ); MSFILTER_DLLPUBLIC OUString getDefaultProjectName( SfxObjectShell const * pShell ); MSFILTER_DLLPUBLIC OUString resolveVBAMacro(SfxObjectShell const* pShell, const OUString& rLibName, const OUString& rModuleName, - const OUString& rMacroName, bool bOnlyPublic); + const OUString& rMacroName, bool bOnlyPublic, + const OUString& sSkipModule); MSFILTER_DLLPUBLIC MacroResolvedInfo resolveVBAMacro( SfxObjectShell* pShell, const OUString& rMacroName, bool bSearchGlobalTemplates = false ); MSFILTER_DLLPUBLIC bool executeMacro( SfxObjectShell* pShell, const OUString& sMacroName, css::uno::Sequence< css::uno::Any >& aArgs, css::uno::Any& aRet, const css::uno::Any& aCaller ); /// @throws css::uno::RuntimeException |