diff --git a/unoxml/source/dom/domimplementation.cxx b/unoxml/source/dom/domimplementation.cxx index 0bd7e5940ac6..c9e5cade0338 100644 --- a/unoxml/source/dom/domimplementation.cxx +++ b/unoxml/source/dom/domimplementation.cxx @@ -33,7 +33,7 @@ namespace DOM // perhaps it would be helpful to know what the implementation should // do to answer this question... static rtl::Reference xDOMImplementation = new CDOMImplementation; - return &*xDOMImplementation; + return xDOMImplementation.get(); } // there is just 1 static instance, so these must not delete it!