diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-03-27 17:07:20 +0000 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2024-03-29 15:36:01 +0100 |
commit | 8c58736107413ed28149c37d3ac7d27c95294479 (patch) | |
tree | f79bb5489c2071eb8da3569e3eda7808647bf4e6 | |
parent | 1bdfcc2ebfb6947699a733411e061c6ae6d87bd1 (diff) |
add notify for script use
distro/lhm/libreoffice-6-4+backports
Change-Id: I84af197cec7755f6803a578e1e21c03966ad5f3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165412
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r-- | xmloff/source/draw/eventimp.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx index f9e10c11cf7d..fcc36f946ff1 100644 --- a/xmloff/source/draw/eventimp.cxx +++ b/xmloff/source/draw/eventimp.cxx @@ -231,6 +231,9 @@ SdXMLEventContext::SdXMLEventContext( SvXMLImport& rImp, sal_uInt16 nPrfx, cons if( maData.mbValid ) maData.mbValid = !sEventName.isEmpty(); + + if (!maData.msMacroName.isEmpty()) + rImp.NotifyMacroEventRead(); } SvXMLImportContextRef SdXMLEventContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList>& xAttrList ) |