From e455a1f25aef7b1b6d2c8ecc107d9ef50ec90a40 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 20 Feb 2017 11:26:42 +0100 Subject: loplugin:subtlezeroinit: unoxml Change-Id: I4e7f42d5d9d0056a59b8e6b67731628e1cc5cfa1 --- unoxml/source/dom/document.cxx | 2 +- unoxml/source/dom/documentbuilder.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'unoxml/source') 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(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 -- cgit