summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/elementlist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/elementlist.cxx')
-rw-r--r--unoxml/source/dom/elementlist.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/unoxml/source/dom/elementlist.cxx b/unoxml/source/dom/elementlist.cxx
index ae66fa6e8ed3..a9b7b3044fa5 100644
--- a/unoxml/source/dom/elementlist.cxx
+++ b/unoxml/source/dom/elementlist.cxx
@@ -65,9 +65,8 @@ namespace DOM
try {
Reference< XEventTarget > const xTarget(
static_cast<XElement*>(& rElement), UNO_QUERY_THROW);
- OUString aType(RTL_CONSTASCII_USTRINGPARAM("DOMSubtreeModified"));
sal_Bool capture = sal_False;
- xTarget->addEventListener(aType,
+ xTarget->addEventListener("DOMSubtreeModified",
Reference< XEventListener >(this), capture);
} catch (const Exception &e){
OString aMsg("Exception caught while registering NodeList as listener:\n");