summaryrefslogtreecommitdiff
path: root/xmloff/source/script/XMLScriptContextFactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/script/XMLScriptContextFactory.cxx')
-rw-r--r--xmloff/source/script/XMLScriptContextFactory.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmloff/source/script/XMLScriptContextFactory.cxx b/xmloff/source/script/XMLScriptContextFactory.cxx
index c5d7cb2d0d05..3ebc45c1c98a 100644
--- a/xmloff/source/script/XMLScriptContextFactory.cxx
+++ b/xmloff/source/script/XMLScriptContextFactory.cxx
@@ -53,6 +53,9 @@ SvXMLImportContext* XMLScriptContextFactory::CreateContext(
// else: ignore
}
+ if (!sURLVal.isEmpty())
+ rImport.NotifyMacroEventRead();
+
Sequence<PropertyValue> aValues{ comphelper::makePropertyValue(gsEventType, OUString(gsScript)),
comphelper::makePropertyValue(gsURL, sURLVal) };