summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/document.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/document.cxx')
-rw-r--r--unoxml/source/dom/document.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/dom/document.cxx b/unoxml/source/dom/document.cxx
index 0c69dfb64cee..779b4c5d7416 100644
--- a/unoxml/source/dom/document.cxx
+++ b/unoxml/source/dom/document.cxx
@@ -898,7 +898,7 @@ namespace DOM
"DOMNodeInsertedIntoDocument", sal_True, sal_False, Reference< XNode >(),
OUString(), OUString(), OUString(), (AttrChangeType)0 );
Reference< XEventTarget > const xDocET(xDocument, UNO_QUERY);
- xDocET->dispatchEvent(Reference< XEvent >(event, UNO_QUERY));
+ xDocET->dispatchEvent(event);
}
return xNode;