diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-20 11:26:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-21 07:34:56 +0100 |
commit | e455a1f25aef7b1b6d2c8ecc107d9ef50ec90a40 (patch) | |
tree | 2a134a0d63848e3b7b2c9003031da5b7824693c2 /unoxml/source | |
parent | 18e07fd7d98d157af922dc64070e7c57f7dc9802 (diff) |
loplugin:subtlezeroinit: unoxml
Change-Id: I4e7f42d5d9d0056a59b8e6b67731628e1cc5cfa1
Diffstat (limited to 'unoxml/source')
-rw-r--r-- | unoxml/source/dom/document.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/dom/documentbuilder.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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 |