Kaydet (Commit) 64089f77 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

More loplugin:cstylecast: unoxml

Change-Id: I832b0495f3510e853037e87e90da2fd04c21f8ad
üst 7aff8f8e
...@@ -52,7 +52,7 @@ namespace DOM ...@@ -52,7 +52,7 @@ namespace DOM
event->initMutationEvent( event->initMutationEvent(
"DOMCharacterDataModified", "DOMCharacterDataModified",
true, false, Reference< XNode >(), true, false, Reference< XNode >(),
prevValue, newValue, OUString(), (AttrChangeType)0 ); prevValue, newValue, OUString(), AttrChangeType(0) );
dispatchEvent(event); dispatchEvent(event);
dispatchSubtreeModified(); dispatchSubtreeModified();
} }
......
...@@ -884,7 +884,7 @@ namespace DOM ...@@ -884,7 +884,7 @@ namespace DOM
"DOMNodeInsertedIntoDocument"), UNO_QUERY_THROW); "DOMNodeInsertedIntoDocument"), UNO_QUERY_THROW);
event->initMutationEvent( event->initMutationEvent(
"DOMNodeInsertedIntoDocument", true, false, Reference< XNode >(), "DOMNodeInsertedIntoDocument", true, false, Reference< XNode >(),
OUString(), OUString(), OUString(), (AttrChangeType)0 ); OUString(), OUString(), OUString(), AttrChangeType(0) );
Reference< XEventTarget > const xDocET(xDocument, UNO_QUERY); Reference< XEventTarget > const xDocET(xDocument, UNO_QUERY);
xDocET->dispatchEvent(event); xDocET->dispatchEvent(event);
} }
......
...@@ -368,7 +368,7 @@ namespace DOM ...@@ -368,7 +368,7 @@ namespace DOM
Reference< XMutationEvent > event(docevent->createEvent( Reference< XMutationEvent > event(docevent->createEvent(
"DOMNodeInserted"), UNO_QUERY); "DOMNodeInserted"), UNO_QUERY);
event->initMutationEvent("DOMNodeInserted", true, false, this, event->initMutationEvent("DOMNodeInserted", true, false, this,
OUString(), OUString(), OUString(), (AttrChangeType)0 ); OUString(), OUString(), OUString(), AttrChangeType(0) );
// the following dispatch functions use only UNO interfaces // the following dispatch functions use only UNO interfaces
// and call event listeners, so release mutex to prevent deadlocks. // and call event listeners, so release mutex to prevent deadlocks.
...@@ -786,7 +786,7 @@ namespace DOM ...@@ -786,7 +786,7 @@ namespace DOM
true, true,
false, false,
this, this,
OUString(), OUString(), OUString(), (AttrChangeType)0 ); OUString(), OUString(), OUString(), AttrChangeType(0) );
// the following dispatch functions use only UNO interfaces // the following dispatch functions use only UNO interfaces
// and call event listeners, so release mutex to prevent deadlocks. // and call event listeners, so release mutex to prevent deadlocks.
...@@ -915,7 +915,7 @@ namespace DOM ...@@ -915,7 +915,7 @@ namespace DOM
event->initMutationEvent( event->initMutationEvent(
"DOMSubtreeModified", true, "DOMSubtreeModified", true,
false, Reference< XNode >(), false, Reference< XNode >(),
OUString(), OUString(), OUString(), (AttrChangeType)0 ); OUString(), OUString(), OUString(), AttrChangeType(0) );
dispatchEvent(event); dispatchEvent(event);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment