diff options
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/qa/unit/domtest.cxx | 4 | ||||
-rw-r--r-- | unoxml/source/dom/document.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/dom/documentbuilder.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/unoxml/qa/unit/domtest.cxx b/unoxml/qa/unit/domtest.cxx index ce7b88393d6c..35f41974acd7 100644 --- a/unoxml/qa/unit/domtest.cxx +++ b/unoxml/qa/unit/domtest.cxx @@ -276,8 +276,8 @@ struct SerializerTest : public test::BootstrapFixture mxDomBuilder.set( xDB ); mxInStream.set( new SequenceInputStream(css::uno::Sequence<sal_Int8>(reinterpret_cast<sal_Int8 const *>(validTestFile), SAL_N_ELEMENTS(validTestFile))) ); mxDomBuilder->setErrorHandler(mxErrHandler.get()); - mxHandler.set( new DocumentHandler() ); - mxTokHandler.set( new TokenHandler() ); + mxHandler.set( new DocumentHandler ); + mxTokHandler.set( new TokenHandler ); maRegisteredNamespaces.realloc(2); maRegisteredNamespaces[0] = beans::make_Pair( diff --git a/unoxml/source/dom/document.cxx b/unoxml/source/dom/document.cxx index 9911c33e9ab2..b9c167ee2486 100644 --- a/unoxml/source/dom/document.cxx +++ b/unoxml/source/dom/document.cxx @@ -89,7 +89,7 @@ namespace DOM NodeType_DOCUMENT_NODE, reinterpret_cast<xmlNodePtr>(pDoc)) , m_aDocPtr(pDoc) , m_streamListeners() - , m_pEventDispatcher(new events::CEventDispatcher()) + , m_pEventDispatcher(new events::CEventDispatcher) { } diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx index 0a3e80dc9767..b8f79f6fe9a8 100644 --- a/unoxml/source/dom/documentbuilder.cxx +++ b/unoxml/source/dom/documentbuilder.cxx @@ -87,7 +87,7 @@ namespace DOM }; CDocumentBuilder::CDocumentBuilder() - : m_xEntityResolver(new CDefaultEntityResolver()) + : m_xEntityResolver(new CDefaultEntityResolver) { // init libxml. libxml will protect itself against multiple // initializations so there is no problem here if this gets |