summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unoxml/source/dom/characterdata.cxx2
-rw-r--r--unoxml/source/dom/document.cxx2
-rw-r--r--unoxml/source/dom/node.cxx6
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);
}