diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-25 10:27:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-27 11:02:28 +0100 |
commit | 93f9a32cdf720ee76f56f987a1ded2fd89145659 (patch) | |
tree | aec5db5970a272b0d60244c46e6c3939201159c3 /vcl | |
parent | 80ee8f832f8247f9189270121fc4b3fe64a9be71 (diff) |
cppcheck: noExplicitConstructor
Change-Id: Id0a6cd461b2ba56e3b9b944514f3b0d0eb75cc44
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/notebookbar.cxx | 2 | ||||
-rw-r--r-- | vcl/source/uitest/uno/uiobject_uno.hxx | 2 |
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) |