From 6582f7956313e16ea7df5b7cc961d368c150de0a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 27 Mar 2024 17:07:20 +0000 Subject: [PATCH] add notify for script use Change-Id: I84af197cec7755f6803a578e1e21c03966ad5f3e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165410 Tested-by: Jenkins CollaboraOffice Reviewed-by: Miklos Vajna (cherry picked from commit a4a5c6b63599bca1f084bb90875f6fd8e15184ac) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167419 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx index 226caca..bcf67c4 100644 --- a/xmloff/source/draw/eventimp.cxx +++ b/xmloff/source/draw/eventimp.cxx @@ -212,6 +212,9 @@ if( maData.mbValid ) maData.mbValid = !sEventName.isEmpty(); + + if (!maData.msMacroName.isEmpty()) + rImp.NotifyMacroEventRead(); } css::uno::Reference< css::xml::sax::XFastContextHandler > SdXMLEventContext::createFastChildContext(