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 /sfx2 | |
parent | 80ee8f832f8247f9189270121fc4b3fe64a9be71 (diff) |
cppcheck: noExplicitConstructor
Change-Id: Id0a6cd461b2ba56e3b9b944514f3b0d0eb75cc44
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/notebookbar/DropdownBox.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/notebookbar/DropdownBox.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/notebookbar/NotebookBarPopupMenu.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/notebookbar/PriorityHBox.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/notebookbar/DropdownBox.cxx b/sfx2/source/notebookbar/DropdownBox.cxx index 0058c89cfade..63bf89cd8e53 100644 --- a/sfx2/source/notebookbar/DropdownBox.cxx +++ b/sfx2/source/notebookbar/DropdownBox.cxx @@ -37,7 +37,7 @@ private: ScopedVclPtr<DropdownBox> m_pParent; public: - Popup(VclPtr<DropdownBox> pParent) + explicit Popup(VclPtr<DropdownBox> pParent) : FloatingWindow(pParent, "Popup", "sfx/ui/notebookbarpopup.ui") , m_pParent(pParent) { diff --git a/sfx2/source/notebookbar/DropdownBox.hxx b/sfx2/source/notebookbar/DropdownBox.hxx index a44d9708017d..cf6011bae4fb 100644 --- a/sfx2/source/notebookbar/DropdownBox.hxx +++ b/sfx2/source/notebookbar/DropdownBox.hxx @@ -38,7 +38,7 @@ private: VclPtr<Popup> m_pPopup; public: - DropdownBox(vcl::Window *pParent); + explicit DropdownBox(vcl::Window *pParent); virtual ~DropdownBox() override; virtual void dispose() override; diff --git a/sfx2/source/notebookbar/NotebookBarPopupMenu.hxx b/sfx2/source/notebookbar/NotebookBarPopupMenu.hxx index 2fca13512849..b8ea6c6aec88 100644 --- a/sfx2/source/notebookbar/NotebookBarPopupMenu.hxx +++ b/sfx2/source/notebookbar/NotebookBarPopupMenu.hxx @@ -15,7 +15,7 @@ class NotebookBarPopupMenu : public PopupMenu { public: - NotebookBarPopupMenu(ResId aRes); + explicit NotebookBarPopupMenu(ResId aRes); void Execute(NotebookBar* pNotebookbar, css::uno::Reference<css::frame::XFrame>& xFrame); }; diff --git a/sfx2/source/notebookbar/PriorityHBox.cxx b/sfx2/source/notebookbar/PriorityHBox.cxx index 52ce58aa9f16..0b02f6325160 100644 --- a/sfx2/source/notebookbar/PriorityHBox.cxx +++ b/sfx2/source/notebookbar/PriorityHBox.cxx @@ -45,7 +45,7 @@ private: std::vector<IPrioritable*> m_aSortedChilds; public: - PriorityHBox(vcl::Window *pParent) + explicit PriorityHBox(vcl::Window *pParent) : VclHBox(pParent) , m_bInitialized(false) , m_nNeededWidth(0) |