summaryrefslogtreecommitdiff
path: root/framework/source/uielement
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/uielement
parent11f1029be5ad2cc8c69de48a139504d6e4df0565 (diff)
cppcheck: noExplicitConstructor
Change-Id: Id1615ac223cd6257a419e8abe39b5121d4c16ca4
Diffstat (limited to 'framework/source/uielement')
-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
5 files changed, 6 insertions, 6 deletions
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