diff options
Diffstat (limited to 'unoxml/source/dom/documentbuilder.cxx')
-rw-r--r-- | unoxml/source/dom/documentbuilder.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx index b48344cf4130..eafab7e2bf9f 100644 --- a/unoxml/source/dom/documentbuilder.cxx +++ b/unoxml/source/dom/documentbuilder.cxx @@ -87,10 +87,8 @@ namespace DOM }; - CDocumentBuilder::CDocumentBuilder( - Reference< XMultiServiceFactory > const& xFactory) - : m_xFactory(xFactory) - , m_xEntityResolver(new CDefaultEntityResolver()) + CDocumentBuilder::CDocumentBuilder() + : m_xEntityResolver(new CDefaultEntityResolver()) { // init libxml. libxml will protect itself against multiple // initializations so there is no problem here if this gets @@ -98,9 +96,9 @@ namespace DOM xmlInitParser(); } - Reference< XInterface > CDocumentBuilder::_getInstance(const Reference< XMultiServiceFactory >& rSMgr) + Reference< XInterface > CDocumentBuilder::_getInstance(const Reference< XMultiServiceFactory >& ) { - return static_cast< XDocumentBuilder* >(new CDocumentBuilder(rSMgr)); + return static_cast< XDocumentBuilder* >(new CDocumentBuilder); } const char* CDocumentBuilder::aImplementationName = "com.sun.star.comp.xml.dom.DocumentBuilder"; |