summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-24 15:33:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-25 15:45:56 +0000
commitf43c9aa5eb2f97c052dba101db5a3d31b4baf802 (patch)
treea3f681bbbdca9c762c5b1c61475059c04a337b2d /framework/source
parent11f1029be5ad2cc8c69de48a139504d6e4df0565 (diff)
cppcheck: noExplicitConstructor
Change-Id: Id1615ac223cd6257a419e8abe39b5121d4c16ca4
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/uiconfiguration/moduleuicfgsupplier.cxx2
-rw-r--r--framework/source/uiconfiguration/uicategorydescription.cxx2
-rw-r--r--framework/source/uiconfiguration/uiconfigurationmanager.cxx2
-rw-r--r--framework/source/uiconfiguration/windowstateconfiguration.cxx2
-rw-r--r--framework/source/uielement/controlmenucontroller.cxx2
-rw-r--r--framework/source/uielement/menubarmanager.cxx2
-rw-r--r--framework/source/uielement/objectmenucontroller.cxx2
-rw-r--r--framework/source/uielement/popuptoolbarcontroller.cxx4
-rw-r--r--framework/source/uielement/saveasmenucontroller.cxx2
-rw-r--r--framework/source/uifactory/addonstoolbarfactory.cxx2
-rw-r--r--framework/source/uifactory/statusbarfactory.cxx2
-rw-r--r--framework/source/uifactory/toolbarfactory.cxx2
-rw-r--r--framework/source/uifactory/uicontrollerfactory.cxx6
-rw-r--r--framework/source/uifactory/uielementfactorymanager.cxx2
-rw-r--r--framework/source/uifactory/windowcontentfactorymanager.cxx2
15 files changed, 18 insertions, 18 deletions
diff --git a/framework/source/uiconfiguration/moduleuicfgsupplier.cxx b/framework/source/uiconfiguration/moduleuicfgsupplier.cxx
index 213daa5a50a7..59b5cc1333bb 100644
--- a/framework/source/uiconfiguration/moduleuicfgsupplier.cxx
+++ b/framework/source/uiconfiguration/moduleuicfgsupplier.cxx
@@ -62,7 +62,7 @@ class ModuleUIConfigurationManagerSupplier : private cppu::BaseMutex,
public ModuleUIConfigurationManagerSupplier_BASE
{
public:
- ModuleUIConfigurationManagerSupplier( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
+ explicit ModuleUIConfigurationManagerSupplier( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
virtual ~ModuleUIConfigurationManagerSupplier();
virtual OUString SAL_CALL getImplementationName()
diff --git a/framework/source/uiconfiguration/uicategorydescription.cxx b/framework/source/uiconfiguration/uicategorydescription.cxx
index 4b902436b4f4..2dbe4d27ec83 100644
--- a/framework/source/uiconfiguration/uicategorydescription.cxx
+++ b/framework/source/uiconfiguration/uicategorydescription.cxx
@@ -379,7 +379,7 @@ void SAL_CALL ConfigurationAccess_UICategory::disposing( const EventObject& aEve
class UICategoryDescription : public UICommandDescription
{
public:
- UICategoryDescription( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
+ explicit UICategoryDescription( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
virtual ~UICategoryDescription();
virtual OUString SAL_CALL getImplementationName()
diff --git a/framework/source/uiconfiguration/uiconfigurationmanager.cxx b/framework/source/uiconfiguration/uiconfigurationmanager.cxx
index c197f0e74ae3..f90ef07d18bd 100644
--- a/framework/source/uiconfiguration/uiconfigurationmanager.cxx
+++ b/framework/source/uiconfiguration/uiconfigurationmanager.cxx
@@ -83,7 +83,7 @@ public:
return aSeq;
}
- UIConfigurationManager( const css::uno::Reference< css::uno::XComponentContext > & rxContext );
+ explicit UIConfigurationManager( const css::uno::Reference< css::uno::XComponentContext > & rxContext );
virtual ~UIConfigurationManager();
// XComponent
diff --git a/framework/source/uiconfiguration/windowstateconfiguration.cxx b/framework/source/uiconfiguration/windowstateconfiguration.cxx
index 8dd19b11a62f..46a0919a24fe 100644
--- a/framework/source/uiconfiguration/windowstateconfiguration.cxx
+++ b/framework/source/uiconfiguration/windowstateconfiguration.cxx
@@ -1282,7 +1282,7 @@ class WindowStateConfiguration : private cppu::BaseMutex,
public WindowStateConfiguration_BASE
{
public:
- WindowStateConfiguration( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
+ explicit WindowStateConfiguration( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
virtual ~WindowStateConfiguration();
virtual OUString SAL_CALL getImplementationName()
diff --git a/framework/source/uielement/controlmenucontroller.cxx b/framework/source/uielement/controlmenucontroller.cxx
index 0d16b4aa3acf..250be1fb007b 100644
--- a/framework/source/uielement/controlmenucontroller.cxx
+++ b/framework/source/uielement/controlmenucontroller.cxx
@@ -178,7 +178,7 @@ class ControlMenuController : public svt::PopupMenuControllerBase
using svt::PopupMenuControllerBase::disposing;
public:
- ControlMenuController( const uno::Reference< uno::XComponentContext >& xContext );
+ explicit ControlMenuController( const uno::Reference< uno::XComponentContext >& xContext );
virtual ~ControlMenuController();
// XServiceInfo
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx
index 5f2b85a10e31..6f691c7cc2e4 100644
--- a/framework/source/uielement/menubarmanager.cxx
+++ b/framework/source/uielement/menubarmanager.cxx
@@ -713,7 +713,7 @@ class QuietInteractionContext:
private boost::noncopyable
{
public:
- QuietInteractionContext(
+ explicit QuietInteractionContext(
css::uno::Reference< css::uno::XCurrentContext >
const & context):
context_(context) {}
diff --git a/framework/source/uielement/objectmenucontroller.cxx b/framework/source/uielement/objectmenucontroller.cxx
index c2c8960f5c8b..ba6464785ed9 100644
--- a/framework/source/uielement/objectmenucontroller.cxx
+++ b/framework/source/uielement/objectmenucontroller.cxx
@@ -56,7 +56,7 @@ class ObjectMenuController : public svt::PopupMenuControllerBase
using svt::PopupMenuControllerBase::disposing;
public:
- ObjectMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext );
+ explicit ObjectMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext );
virtual ~ObjectMenuController();
// XServiceInfo
diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx
index 4055cbcd8944..cd5931c24144 100644
--- a/framework/source/uielement/popuptoolbarcontroller.cxx
+++ b/framework/source/uielement/popuptoolbarcontroller.cxx
@@ -305,7 +305,7 @@ ToolBoxItemBits GenericPopupToolbarController::getDropDownStyle() const
class SaveToolbarController : public PopupMenuToolbarController
{
public:
- SaveToolbarController( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
+ explicit SaveToolbarController( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
// XStatusListener
virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& rEvent ) throw ( css::uno::RuntimeException, std::exception ) override;
@@ -355,7 +355,7 @@ css::uno::Sequence< OUString > SaveToolbarController::getSupportedServiceNames()
class NewToolbarController : public PopupMenuToolbarController
{
public:
- NewToolbarController( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
+ explicit NewToolbarController( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
// XServiceInfo
OUString SAL_CALL getImplementationName()
diff --git a/framework/source/uielement/saveasmenucontroller.cxx b/framework/source/uielement/saveasmenucontroller.cxx
index 3df48db450f7..012a630afb7c 100644
--- a/framework/source/uielement/saveasmenucontroller.cxx
+++ b/framework/source/uielement/saveasmenucontroller.cxx
@@ -45,7 +45,7 @@ class SaveAsMenuController : public svt::PopupMenuControllerBase
using svt::PopupMenuControllerBase::disposing;
public:
- SaveAsMenuController( const uno::Reference< uno::XComponentContext >& xContext );
+ explicit SaveAsMenuController( const uno::Reference< uno::XComponentContext >& xContext );
virtual ~SaveAsMenuController();
// XServiceInfo
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()