diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:01:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:01:38 +0100 |
commit | 64089f779060203d892f1200ccd1a1875d9c53ff (patch) | |
tree | 78e0147db668d3c0b9f54d50ccddc9d6b205affa /unoxml | |
parent | 7aff8f8e16b8087b57161446b133c4a883a14c66 (diff) |
More loplugin:cstylecast: unoxml
Change-Id: I832b0495f3510e853037e87e90da2fd04c21f8ad
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/dom/characterdata.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/dom/document.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/dom/node.cxx | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/unoxml/source/dom/characterdata.cxx b/unoxml/source/dom/characterdata.cxx index 3813a72899d0..2afc767995e3 100644 --- a/unoxml/source/dom/characterdata.cxx +++ b/unoxml/source/dom/characterdata.cxx @@ -52,7 +52,7 @@ namespace DOM event->initMutationEvent( "DOMCharacterDataModified", true, false, Reference< XNode >(), - prevValue, newValue, OUString(), (AttrChangeType)0 ); + prevValue, newValue, OUString(), AttrChangeType(0) ); dispatchEvent(event); dispatchSubtreeModified(); } diff --git a/unoxml/source/dom/document.cxx b/unoxml/source/dom/document.cxx index cd5dda474c22..4e904a899d3e 100644 --- a/unoxml/source/dom/document.cxx +++ b/unoxml/source/dom/document.cxx @@ -884,7 +884,7 @@ namespace DOM "DOMNodeInsertedIntoDocument"), UNO_QUERY_THROW); event->initMutationEvent( "DOMNodeInsertedIntoDocument", true, false, Reference< XNode >(), - OUString(), OUString(), OUString(), (AttrChangeType)0 ); + OUString(), OUString(), OUString(), AttrChangeType(0) ); Reference< XEventTarget > const xDocET(xDocument, UNO_QUERY); xDocET->dispatchEvent(event); } diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx index 1508ea80a23f..0769c2e5b5ab 100644 --- a/unoxml/source/dom/node.cxx +++ b/unoxml/source/dom/node.cxx @@ -368,7 +368,7 @@ namespace DOM Reference< XMutationEvent > event(docevent->createEvent( "DOMNodeInserted"), UNO_QUERY); event->initMutationEvent("DOMNodeInserted", true, false, this, - OUString(), OUString(), OUString(), (AttrChangeType)0 ); + OUString(), OUString(), OUString(), AttrChangeType(0) ); // the following dispatch functions use only UNO interfaces // and call event listeners, so release mutex to prevent deadlocks. @@ -786,7 +786,7 @@ namespace DOM true, false, this, - OUString(), OUString(), OUString(), (AttrChangeType)0 ); + OUString(), OUString(), OUString(), AttrChangeType(0) ); // the following dispatch functions use only UNO interfaces // and call event listeners, so release mutex to prevent deadlocks. @@ -915,7 +915,7 @@ namespace DOM event->initMutationEvent( "DOMSubtreeModified", true, false, Reference< XNode >(), - OUString(), OUString(), OUString(), (AttrChangeType)0 ); + OUString(), OUString(), OUString(), AttrChangeType(0) ); dispatchEvent(event); } |