diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-24 15:33:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-25 15:45:56 +0000 |
commit | f43c9aa5eb2f97c052dba101db5a3d31b4baf802 (patch) | |
tree | a3f681bbbdca9c762c5b1c61475059c04a337b2d /framework/source/uifactory | |
parent | 11f1029be5ad2cc8c69de48a139504d6e4df0565 (diff) |
cppcheck: noExplicitConstructor
Change-Id: Id1615ac223cd6257a419e8abe39b5121d4c16ca4
Diffstat (limited to 'framework/source/uifactory')
6 files changed, 8 insertions, 8 deletions
diff --git a/framework/source/uifactory/addonstoolbarfactory.cxx b/framework/source/uifactory/addonstoolbarfactory.cxx index 11be46047e68..c1356d549d0e 100644 --- a/framework/source/uifactory/addonstoolbarfactory.cxx +++ b/framework/source/uifactory/addonstoolbarfactory.cxx @@ -54,7 +54,7 @@ class AddonsToolBarFactory : public ::cppu::WeakImplHelper< css::lang::XService css::ui::XUIElementFactory > { public: - AddonsToolBarFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ); + explicit AddonsToolBarFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ); virtual ~AddonsToolBarFactory(); virtual OUString SAL_CALL getImplementationName() diff --git a/framework/source/uifactory/statusbarfactory.cxx b/framework/source/uifactory/statusbarfactory.cxx index 0741348131f5..e6b89a0a7bd3 100644 --- a/framework/source/uifactory/statusbarfactory.cxx +++ b/framework/source/uifactory/statusbarfactory.cxx @@ -40,7 +40,7 @@ namespace { class StatusBarFactory : public MenuBarFactory { public: - StatusBarFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ); + explicit StatusBarFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ); virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/uifactory/toolbarfactory.cxx b/framework/source/uifactory/toolbarfactory.cxx index ceccc552b80c..a84996626573 100644 --- a/framework/source/uifactory/toolbarfactory.cxx +++ b/framework/source/uifactory/toolbarfactory.cxx @@ -38,7 +38,7 @@ namespace { class ToolBarFactory : public MenuBarFactory { public: - ToolBarFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ); + explicit ToolBarFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ); virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/uifactory/uicontrollerfactory.cxx b/framework/source/uifactory/uicontrollerfactory.cxx index 1d25f44b6f9e..e62c171d8148 100644 --- a/framework/source/uifactory/uicontrollerfactory.cxx +++ b/framework/source/uifactory/uicontrollerfactory.cxx @@ -246,7 +246,7 @@ throw (RuntimeException, std::exception) class PopupMenuControllerFactory : public UIControllerFactory { public: - PopupMenuControllerFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ); + explicit PopupMenuControllerFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ); virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override @@ -297,7 +297,7 @@ struct PopupMenuControllerFactorySingleton: class ToolbarControllerFactory : public UIControllerFactory { public: - ToolbarControllerFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ); + explicit ToolbarControllerFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ); virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override @@ -348,7 +348,7 @@ struct ToolbarControllerFactorySingleton: class StatusbarControllerFactory : public UIControllerFactory { public: - StatusbarControllerFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ); + explicit StatusbarControllerFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ); virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/uifactory/uielementfactorymanager.cxx b/framework/source/uifactory/uielementfactorymanager.cxx index 70fa22398130..5e4dc6d22b55 100644 --- a/framework/source/uifactory/uielementfactorymanager.cxx +++ b/framework/source/uifactory/uielementfactorymanager.cxx @@ -356,7 +356,7 @@ class UIElementFactoryManager : private cppu::BaseMutex, { virtual void SAL_CALL disposing() override; public: - UIElementFactoryManager( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); + explicit UIElementFactoryManager( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); virtual ~UIElementFactoryManager(); virtual OUString SAL_CALL getImplementationName() diff --git a/framework/source/uifactory/windowcontentfactorymanager.cxx b/framework/source/uifactory/windowcontentfactorymanager.cxx index ebbc036317c6..d9a1c7a6b322 100644 --- a/framework/source/uifactory/windowcontentfactorymanager.cxx +++ b/framework/source/uifactory/windowcontentfactorymanager.cxx @@ -48,7 +48,7 @@ class WindowContentFactoryManager : private cppu::BaseMutex, public WindowContentFactoryManager_BASE { public: - WindowContentFactoryManager( const css::uno::Reference< css::uno::XComponentContext>& rxContext ); + explicit WindowContentFactoryManager( const css::uno::Reference< css::uno::XComponentContext>& rxContext ); virtual ~WindowContentFactoryManager(); virtual OUString SAL_CALL getImplementationName() |