diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-03-27 17:07:20 +0000 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-05-10 09:57:36 +0200 |
commit | 479670153ea7b3739a209bc19aedc04fba4aafdc (patch) | |
tree | 9fb6039e7eb4b5e02389188d468fe88e3f758317 | |
parent | 3bc3fd766378649e8c48226a82ef65d986fbc826 (diff) |
add notify for script use
Change-Id: I84af197cec7755f6803a578e1e21c03966ad5f3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165410
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit a4a5c6b63599bca1f084bb90875f6fd8e15184ac)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167415
Tested-by: Miklos Vajna <vmiklos@collabora.com>
-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 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( |