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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/dom/elementlist.cxx b/unoxml/source/dom/elementlist.cxx
index f12795273882..ae66fa6e8ed3 100644
--- a/unoxml/source/dom/elementlist.cxx
+++ b/unoxml/source/dom/elementlist.cxx
@@ -69,7 +69,7 @@ namespace DOM
sal_Bool capture = sal_False;
xTarget->addEventListener(aType,
Reference< XEventListener >(this), capture);
- } catch (Exception &e){
+ } catch (const Exception &e){
OString aMsg("Exception caught while registering NodeList as listener:\n");
aMsg += OUStringToOString(e.Message, RTL_TEXTENCODING_ASCII_US);
OSL_FAIL(aMsg.getStr());