diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-20 12:33:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-21 07:35:02 +0100 |
commit | f34942333ffe1117253a761732a8f65aac4f11b0 (patch) | |
tree | 0480660c13304c2c2cbd6bcbd35fa51214600111 /scripting/source | |
parent | fa177eb3e3f6698c2798d85f0a287607221fa695 (diff) |
loplugin:subtlezeroinit: scripting
Change-Id: Id59b79c8e01ca66924b8a8de1c513ce97658e361
Diffstat (limited to 'scripting/source')
-rw-r--r-- | scripting/source/dlgprov/dlgprov.cxx | 2 | ||||
-rw-r--r-- | scripting/source/provider/BrowseNodeFactoryImpl.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx index 9c7433133d08..ccfd78801965 100644 --- a/scripting/source/dlgprov/dlgprov.cxx +++ b/scripting/source/dlgprov/dlgprov.cxx @@ -589,7 +589,7 @@ namespace dlgprov { // call from RTL_Impl_CreateUnoDialog aArguments[0] >>= m_xModel; - m_BasicInfo.reset( new BasicRTLParams() ); + m_BasicInfo.reset( new BasicRTLParams ); m_BasicInfo->mxInput.set( aArguments[ 1 ], UNO_QUERY_THROW ); // allow null mxDlgLib, a document dialog instantiated from // from application basic is unable to provide ( or find ) it's diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx index e74b9f90de99..33b8dd538e89 100644 --- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx +++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx @@ -230,7 +230,7 @@ private: void loadChildNodes() { - m_hBNA = new BrowseNodeAggregatorHash(); + m_hBNA = new BrowseNodeAggregatorHash; Sequence< Reference< browse::XBrowseNode > > langNodes = m_origNode->getChildNodes(); |