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/4%7.4.7-1+rpi1+deb12u9^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7d161bec139623b14aba1ddcda6aff7a7fa6fbf7;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 29fc94fda27..3461b4495ff 100644 --- a/xmloff/source/draw/eventimp.cxx +++ b/xmloff/source/draw/eventimp.cxx @@ -211,6 +211,9 @@ SdXMLEventContext::SdXMLEventContext( SvXMLImport& rImp, if( maData.mbValid ) maData.mbValid = !sEventName.isEmpty(); + + if (!maData.msMacroName.isEmpty()) + rImp.NotifyMacroEventRead(); } css::uno::Reference< css::xml::sax::XFastContextHandler > SdXMLEventContext::createFastChildContext(