summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-25 10:27:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-27 11:02:28 +0100
commit93f9a32cdf720ee76f56f987a1ded2fd89145659 (patch)
treeaec5db5970a272b0d60244c46e6c3939201159c3 /vcl
parentloplugin:singlevalfields in sc(part4) (diff)
downloadcore-93f9a32cdf720ee76f56f987a1ded2fd89145659.tar.gz
core-93f9a32cdf720ee76f56f987a1ded2fd89145659.zip
cppcheck: noExplicitConstructor
Change-Id: Id0a6cd461b2ba56e3b9b944514f3b0d0eb75cc44
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/notebookbar.cxx2
-rw-r--r--vcl/source/uitest/uno/uiobject_uno.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/notebookbar.cxx b/vcl/source/control/notebookbar.cxx
index a47cb038315f..cb2611dd0351 100644
--- a/vcl/source/control/notebookbar.cxx
+++ b/vcl/source/control/notebookbar.cxx
@@ -19,7 +19,7 @@ class NotebookBarContextChangeEventListener : public ::cppu::WeakImplHelper<css:
{
VclPtr<NotebookBar> mpParent;
public:
- NotebookBarContextChangeEventListener(NotebookBar *p) : mpParent(p) {}
+ explicit NotebookBarContextChangeEventListener(NotebookBar *p) : mpParent(p) {}
virtual ~NotebookBarContextChangeEventListener() {}
// XContextChangeEventListener
diff --git a/vcl/source/uitest/uno/uiobject_uno.hxx b/vcl/source/uitest/uno/uiobject_uno.hxx
index fe0669a0c977..33841121e880 100644
--- a/vcl/source/uitest/uno/uiobject_uno.hxx
+++ b/vcl/source/uitest/uno/uiobject_uno.hxx
@@ -34,7 +34,7 @@ private:
public:
- UIObjectUnoObj(std::unique_ptr<UIObject> pObj);
+ explicit UIObjectUnoObj(std::unique_ptr<UIObject> pObj);
virtual ~UIObjectUnoObj();
css::uno::Reference<css::ui::test::XUIObject> SAL_CALL getChild(const OUString& rID)