diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-02 09:52:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-02 10:16:38 +0000 |
commit | 4ea0390faa22037f1d4f703c0882a027cf2ae643 (patch) | |
tree | cbcc7db6e327ef0efa53d26241fc48f0ff2ee90f /scripting/source | |
parent | 708d1c5ab242b545ced598879233fc662d7e6cc0 (diff) |
cppcheck: noExplicitConstructor
Change-Id: I06186e8f0bbc8522f538e8639a68e816093becc2
Diffstat (limited to 'scripting/source')
-rw-r--r-- | scripting/source/basprov/basprov.hxx | 2 | ||||
-rw-r--r-- | scripting/source/dlgprov/dlgevtatt.hxx | 2 | ||||
-rw-r--r-- | scripting/source/dlgprov/dlgprov.hxx | 2 | ||||
-rw-r--r-- | scripting/source/protocolhandler/scripthandler.hxx | 2 | ||||
-rw-r--r-- | scripting/source/provider/ActiveMSPList.cxx | 2 | ||||
-rw-r--r-- | scripting/source/provider/ActiveMSPList.hxx | 2 | ||||
-rw-r--r-- | scripting/source/provider/BrowseNodeFactoryImpl.cxx | 8 | ||||
-rw-r--r-- | scripting/source/provider/BrowseNodeFactoryImpl.hxx | 2 | ||||
-rw-r--r-- | scripting/source/provider/MasterScriptProvider.hxx | 2 | ||||
-rw-r--r-- | scripting/source/provider/MasterScriptProviderFactory.hxx | 2 | ||||
-rw-r--r-- | scripting/source/provider/URIHelper.hxx | 2 | ||||
-rw-r--r-- | scripting/source/stringresource/stringresource.hxx | 8 | ||||
-rw-r--r-- | scripting/source/vbaevents/eventhelper.cxx | 2 |
13 files changed, 19 insertions, 19 deletions
diff --git a/scripting/source/basprov/basprov.hxx b/scripting/source/basprov/basprov.hxx index 40b8304a43ae..646be1ebd1cf 100644 --- a/scripting/source/basprov/basprov.hxx +++ b/scripting/source/basprov/basprov.hxx @@ -67,7 +67,7 @@ namespace basprov const OUString& rLibName ); public: - BasicProviderImpl( + explicit BasicProviderImpl( const css::uno::Reference< css::uno::XComponentContext >& xContext ); virtual ~BasicProviderImpl(); diff --git a/scripting/source/dlgprov/dlgevtatt.hxx b/scripting/source/dlgprov/dlgevtatt.hxx index 01c13139c3dc..cf38efd179e9 100644 --- a/scripting/source/dlgprov/dlgevtatt.hxx +++ b/scripting/source/dlgprov/dlgevtatt.hxx @@ -128,7 +128,7 @@ namespace dlgprov css::uno::Reference< css::uno::XComponentContext > m_xContext; virtual void firing_impl( const css::script::ScriptEvent& aScriptEvent, css::uno::Any* pRet ) = 0; public: - DialogScriptListenerImpl( const css::uno::Reference< css::uno::XComponentContext >& rxContext ) : m_xContext( rxContext ) {} + explicit DialogScriptListenerImpl( const css::uno::Reference< css::uno::XComponentContext >& rxContext ) : m_xContext( rxContext ) {} virtual ~DialogScriptListenerImpl(); // XEventListener diff --git a/scripting/source/dlgprov/dlgprov.hxx b/scripting/source/dlgprov/dlgprov.hxx index 0b1dccc3888e..44fd78b07498 100644 --- a/scripting/source/dlgprov/dlgprov.hxx +++ b/scripting/source/dlgprov/dlgprov.hxx @@ -111,7 +111,7 @@ namespace dlgprov throw (css::lang::IllegalArgumentException, css::uno::RuntimeException); public: - DialogProviderImpl( + explicit DialogProviderImpl( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); virtual ~DialogProviderImpl(); diff --git a/scripting/source/protocolhandler/scripthandler.hxx b/scripting/source/protocolhandler/scripthandler.hxx index 8c033d3d288d..303006b8dcdc 100644 --- a/scripting/source/protocolhandler/scripthandler.hxx +++ b/scripting/source/protocolhandler/scripthandler.hxx @@ -75,7 +75,7 @@ private: bool getScriptInvocation(); public: - ScriptProtocolHandler( const css::uno::Reference < css::uno::XComponentContext >& xContext ); + explicit ScriptProtocolHandler( const css::uno::Reference < css::uno::XComponentContext >& xContext ); virtual ~ScriptProtocolHandler(); /* XServiceInfo */ diff --git a/scripting/source/provider/ActiveMSPList.cxx b/scripting/source/provider/ActiveMSPList.cxx index c45e61873080..98b1d209f131 100644 --- a/scripting/source/provider/ActiveMSPList.cxx +++ b/scripting/source/provider/ActiveMSPList.cxx @@ -67,7 +67,7 @@ ActiveMSPList::createNewMSP( const uno::Any& context ) class NonDocMSPCreator { public: - NonDocMSPCreator(ActiveMSPList *pList) + explicit NonDocMSPCreator(ActiveMSPList *pList) { pList->createNonDocMSPs(); } diff --git a/scripting/source/provider/ActiveMSPList.hxx b/scripting/source/provider/ActiveMSPList.hxx index 3f172a5f560d..24036009ef8b 100644 --- a/scripting/source/provider/ActiveMSPList.hxx +++ b/scripting/source/provider/ActiveMSPList.hxx @@ -56,7 +56,7 @@ class ActiveMSPList : public ::cppu::WeakImplHelper< css::lang::XEventListener public: - ActiveMSPList( const css::uno::Reference< + explicit ActiveMSPList( const css::uno::Reference< css::uno::XComponentContext > & xContext ); virtual ~ActiveMSPList(); diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx index 78326a9109be..74a6abfe5d6f 100644 --- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx +++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx @@ -59,7 +59,7 @@ private: public: - BrowseNodeAggregator( const Reference< browse::XBrowseNode >& node ) + explicit BrowseNodeAggregator( const Reference< browse::XBrowseNode >& node ) { m_Name = node->getName(); m_Nodes.realloc( 1 ); @@ -182,7 +182,7 @@ private: public: - LocationBrowseNode( const Reference< browse::XBrowseNode >& node ) + explicit LocationBrowseNode( const Reference< browse::XBrowseNode >& node ) { m_sNodeName = node->getName(); m_hBNA = NULL; @@ -537,7 +537,7 @@ private: OUString m_Name; public: - DefaultRootBrowseNode( const Reference< XComponentContext >& xCtx ) + explicit DefaultRootBrowseNode( const Reference< XComponentContext >& xCtx ) { Sequence < Reference< browse::XBrowseNode > > nodes = getAllBrowseNodes( xCtx ); @@ -602,7 +602,7 @@ private: Reference< XComponentContext > m_xComponentContext; public: - SelectorBrowseNode( const Reference< XComponentContext >& xContext ) + explicit SelectorBrowseNode( const Reference< XComponentContext >& xContext ) : m_xComponentContext( xContext ) { } diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.hxx b/scripting/source/provider/BrowseNodeFactoryImpl.hxx index 3035fe782e8e..2d16c5826317 100644 --- a/scripting/source/provider/BrowseNodeFactoryImpl.hxx +++ b/scripting/source/provider/BrowseNodeFactoryImpl.hxx @@ -48,7 +48,7 @@ protected: virtual ~BrowseNodeFactoryImpl(); public: - BrowseNodeFactoryImpl( + explicit BrowseNodeFactoryImpl( css::uno::Reference< css::uno::XComponentContext > const & xComponentContext ); // XServiceInfo diff --git a/scripting/source/provider/MasterScriptProvider.hxx b/scripting/source/provider/MasterScriptProvider.hxx index b3f79422f7b3..5309955c9bdc 100644 --- a/scripting/source/provider/MasterScriptProvider.hxx +++ b/scripting/source/provider/MasterScriptProvider.hxx @@ -49,7 +49,7 @@ class MasterScriptProvider : public t_helper { public: - MasterScriptProvider( + explicit MasterScriptProvider( const css::uno::Reference< css::uno::XComponentContext > & xContext ) throw( css::uno::RuntimeException ); virtual ~MasterScriptProvider(); diff --git a/scripting/source/provider/MasterScriptProviderFactory.hxx b/scripting/source/provider/MasterScriptProviderFactory.hxx index 4cf37665d17d..2e7a0c8b3f69 100644 --- a/scripting/source/provider/MasterScriptProviderFactory.hxx +++ b/scripting/source/provider/MasterScriptProviderFactory.hxx @@ -54,7 +54,7 @@ protected: virtual ~MasterScriptProviderFactory(); public: - MasterScriptProviderFactory( + explicit MasterScriptProviderFactory( css::uno::Reference< css::uno::XComponentContext > const & xComponentContext ); // XServiceInfo diff --git a/scripting/source/provider/URIHelper.hxx b/scripting/source/provider/URIHelper.hxx index cd28835843cd..10a214cb1a57 100644 --- a/scripting/source/provider/URIHelper.hxx +++ b/scripting/source/provider/URIHelper.hxx @@ -57,7 +57,7 @@ private: public: - ScriptingFrameworkURIHelper( + explicit ScriptingFrameworkURIHelper( const css::uno::Reference< css::uno::XComponentContext >& xContext ) throw( css::uno::RuntimeException ); diff --git a/scripting/source/stringresource/stringresource.hxx b/scripting/source/stringresource/stringresource.hxx index ea392048893e..7d4dc714ee90 100644 --- a/scripting/source/stringresource/stringresource.hxx +++ b/scripting/source/stringresource/stringresource.hxx @@ -159,7 +159,7 @@ protected: virtual void implLoadAllLocales(); public: - StringResourceImpl( + explicit StringResourceImpl( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); virtual ~StringResourceImpl(); @@ -311,7 +311,7 @@ protected: throw (css::uno::Exception, css::uno::RuntimeException, std::exception); public: - StringResourcePersistenceImpl( + explicit StringResourcePersistenceImpl( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); virtual ~StringResourcePersistenceImpl(); @@ -421,7 +421,7 @@ class StringResourceWithStorageImpl : public StringResourceWithStorageImpl_BASE virtual bool implLoadLocale( LocaleItem* pLocaleItem ) override; public: - StringResourceWithStorageImpl( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); + explicit StringResourceWithStorageImpl( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); virtual ~StringResourceWithStorageImpl(); // XServiceInfo @@ -546,7 +546,7 @@ class StringResourceWithLocationImpl : public StringResourceWithLocationImpl_BAS virtual bool implLoadLocale( LocaleItem* pLocaleItem ) override; public: - StringResourceWithLocationImpl( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); + explicit StringResourceWithLocationImpl( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); virtual ~StringResourceWithLocationImpl(); // XServiceInfo diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx index 093e4143fcb4..ac6a5c06b4e8 100644 --- a/scripting/source/vbaevents/eventhelper.cxx +++ b/scripting/source/vbaevents/eventhelper.cxx @@ -1039,7 +1039,7 @@ typedef ::cppu::WeakImplHelper< XVBAToOOEventDescGen, css::lang::XServiceInfo > class VBAToOOEventDescGen : public VBAToOOEventDescGen_BASE { public: - VBAToOOEventDescGen( const Reference< XComponentContext >& rxContext ); + explicit VBAToOOEventDescGen(const Reference< XComponentContext >& rxContext); // XVBAToOOEventDescGen virtual Sequence< ScriptEventDescriptor > SAL_CALL getEventDescriptions( const OUString& sCtrlServiceName, const OUString& sCodeName ) throw (RuntimeException, std::exception) override; |