summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/node.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/node.cxx')
-rw-r--r--unoxml/source/dom/node.cxx14
1 files changed, 6 insertions, 8 deletions
diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx
index 8cbcfc534a7d..0c5a846a27aa 100644
--- a/unoxml/source/dom/node.cxx
+++ b/unoxml/source/dom/node.cxx
@@ -376,10 +376,8 @@ namespace DOM
pNode->m_bUnlinked = false; // will be deleted by xmlFreeDoc
Reference< XDocumentEvent > docevent(getOwnerDocument(), UNO_QUERY);
Reference< XMutationEvent > event(docevent->createEvent(
- OUString(RTL_CONSTASCII_USTRINGPARAM("DOMNodeInserted"))), UNO_QUERY);
- event->initMutationEvent(OUString(RTL_CONSTASCII_USTRINGPARAM("DOMNodeInserted"))
- , sal_True, sal_False,
- this,
+ "DOMNodeInserted"), UNO_QUERY);
+ event->initMutationEvent("DOMNodeInserted", sal_True, sal_False, this,
OUString(), OUString(), OUString(), (AttrChangeType)0 );
// the following dispatch functions use only UNO interfaces
@@ -816,8 +814,8 @@ namespace DOM
*/
Reference< XDocumentEvent > docevent(getOwnerDocument(), UNO_QUERY);
Reference< XMutationEvent > event(docevent->createEvent(
- OUString(RTL_CONSTASCII_USTRINGPARAM("DOMNodeRemoved"))), UNO_QUERY);
- event->initMutationEvent(OUString(RTL_CONSTASCII_USTRINGPARAM("DOMNodeRemoved")),
+ "DOMNodeRemoved"), UNO_QUERY);
+ event->initMutationEvent("DOMNodeRemoved",
sal_True,
sal_False,
this,
@@ -950,9 +948,9 @@ namespace DOM
// target is _this_ node
Reference< XDocumentEvent > docevent(getOwnerDocument(), UNO_QUERY);
Reference< XMutationEvent > event(docevent->createEvent(
- OUString(RTL_CONSTASCII_USTRINGPARAM("DOMSubtreeModified"))), UNO_QUERY);
+ "DOMSubtreeModified"), UNO_QUERY);
event->initMutationEvent(
- OUString(RTL_CONSTASCII_USTRINGPARAM("DOMSubtreeModified")), sal_True,
+ "DOMSubtreeModified", sal_True,
sal_False, Reference< XNode >(),
OUString(), OUString(), OUString(), (AttrChangeType)0 );
dispatchEvent(Reference< XEvent >(event, UNO_QUERY));
'2020-01-17 16:09:49 +0100'>2020-01-17Clean up duplicated command dispatch test functionalityMiklos Vajna 2019-12-29Avoid crash in shutdown when accessing already destroyed BASIC_DLLMike Kaganski 2019-10-02WTF "WTF 255 return value?"Stephan Bergmann 2019-09-19Improve test output a bitStephan Bergmann 2019-09-06Fixing "...."Andrea Gelmini 2019-08-12Fix typosAndrea Gelmini 2019-07-21loplugin:referencecasting in unotools..uuiNoel Grandin 2019-05-10an is used before a vowel soundCaolán McNamara 2018-10-08tdf#42949 Fix IWYU warnings in include/comphelper/[m-z]*Gabor Kelemen 2018-09-17New loplugin:externalStephan Bergmann 2018-09-07DeInitVCL in PythonTestStephan Bergmann 2018-07-29cppcheck: useInitializationList in test to xmloffJochen Nitschke 2018-07-27Related: rhbz#1602589 add comments to coverity annotationsCaolán McNamara 2018-06-29test: invoke ODF validator with custom schemasMichael Stahl 2018-05-05Fix typosAndrea Gelmini 2018-04-14Fix typosAndrea Gelmini 2018-04-06Fix Python file URL construction on WindowsStephan Bergmann 2018-04-03Create temp copies of test docs in Python/UITestsStephan Bergmann 2017-12-11loplugin:salcall fix functionsNoel Grandin 2017-11-20cosmetics: Drop duplicate semicolonTakeshi Abe 2017-10-23loplugin:includeform: unotestStephan Bergmann 2017-09-07unotest.py: refactor confusing mess of openDoc functionsMichael Stahl