summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/element.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-20 18:26:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-21 08:49:56 +0200
commit7272951c121735a7350fa70840b255b7ef831f1a (patch)
tree52033c5b70c6c2c24ec5c507b7d38eca257356a5 /unoxml/source/dom/element.cxx
parentd943b42214321c630147176210733399c57e6f19 (diff)
loplugin:referencecasting in unotools..uui
Change-Id: Ia2c991591e65deb00710ab7a5b73bc42ae6b1b46 Reviewed-on: https://gerrit.libreoffice.org/76031 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoxml/source/dom/element.cxx')
-rw-r--r--unoxml/source/dom/element.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unoxml/source/dom/element.cxx b/unoxml/source/dom/element.cxx
index 6ed9ba1ebd1e..e5e82b2613cd 100644
--- a/unoxml/source/dom/element.cxx
+++ b/unoxml/source/dom/element.cxx
@@ -632,7 +632,7 @@ namespace DOM
"DOMAttrModified"), UNO_QUERY);
event->initMutationEvent("DOMAttrModified",
true, false,
- Reference< XNode >(getAttributeNode(name), UNO_QUERY),
+ getAttributeNode(name),
oldValue, value, name, aChangeType);
guard.clear(); // release mutex before calling event handlers
@@ -713,7 +713,7 @@ namespace DOM
"DOMAttrModified"), UNO_QUERY);
event->initMutationEvent(
"DOMAttrModified", true, false,
- Reference< XNode >(getAttributeNodeNS(namespaceURI, OUString(reinterpret_cast<char const *>(pLName), strlen(reinterpret_cast<char const *>(pLName)), RTL_TEXTENCODING_UTF8)), UNO_QUERY),
+ getAttributeNodeNS(namespaceURI, OUString(reinterpret_cast<char const *>(pLName), strlen(reinterpret_cast<char const *>(pLName)), RTL_TEXTENCODING_UTF8)),
oldValue, value, qualifiedName, aChangeType);
guard.clear(); // release mutex before calling event handlers