Kaydet (Commit) e455a1f2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:subtlezeroinit: unoxml

Change-Id: I4e7f42d5d9d0056a59b8e6b67731628e1cc5cfa1
üst 18e07fd7
......@@ -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(
......
......@@ -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)
{
}
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment