summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-03-27 17:07:20 +0000
committerMiklos Vajna <vmiklos@collabora.com>2024-05-10 08:27:39 +0200
commit8e4f443fe5ab32c4ffa8bee920fc02cbf5e85343 (patch)
treeacd7722f486555446946825a285ab5cc5ef75891
parent2b77eb7600eefe8ab676b863f16cd5eb12700f0f (diff)
add notify for script usedistro/collabora/co-22.05
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/+/167412
-rw-r--r--xmloff/source/draw/eventimp.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx
index 41f9cf69a2e6..6bedb961191f 100644
--- a/xmloff/source/draw/eventimp.cxx
+++ b/xmloff/source/draw/eventimp.cxx
@@ -210,6 +210,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(