xmloff/source/draw/eventimp.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit fe1b86e771242812d8ca691d50b2042541e2e163
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Wed Mar 27 17:07:20 2024 +0000
Commit:     Thorsten Behrens <thorsten.behr...@allotropia.de>
CommitDate: Fri Mar 29 15:49:26 2024 +0100

    add notify for script use
    
    Change-Id: I84af197cec7755f6803a578e1e21c03966ad5f3e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165412
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx
index 29fc94fda272..3461b4495ff8 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(

Reply via email to