From: Caolán McNamara Date: Wed, 27 Mar 2024 17:07:20 +0000 (+0000) Subject: add notify for script use X-Git-Tag: archive/raspbian/1%7.0.4-4+rpi1+deb11u11^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=00965a4b1e1653f98e211bf13871f85f26af1d43;p=libreoffice.git add notify for script use Change-Id: I84af197cec7755f6803a578e1e21c03966ad5f3e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165412 Tested-by: Jenkins Reviewed-by: Xisco Fauli Gbp-Pq: Name add-notify-for-script-use.diff --- diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx index f119c9fd006..6a46ce1f6ac 100644 --- a/xmloff/source/draw/eventimp.cxx +++ b/xmloff/source/draw/eventimp.cxx @@ -234,6 +234,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 )