diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-11-01 11:44:15 +0100 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-11-01 18:44:20 +0000 |
commit | 8826771e8398063018935c38039c05faf4c993a3 (patch) | |
tree | f726abbbc99a3a1c39c726a47f5f121573ab1c8b /sfx2/source | |
parent | 33bc51a60523f23a860534a39a096fecce192671 (diff) |
style fixes for cppcheck noExplicitConstructor
Change-Id: I2a690caea7656f2a18beb6d09f53154178a30f34
Reviewed-on: https://gerrit.libreoffice.org/30460
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/dialog/dockwin.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/notebookbar/BigToolBox.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/notebookbar/NotebookbarToolBox.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx index 183600a4075d..76c41d2ac048 100644 --- a/sfx2/source/dialog/dockwin.cxx +++ b/sfx2/source/dialog/dockwin.cxx @@ -406,7 +406,7 @@ friend class SfxDockingWindow; bool bDockingPrevented; OString aWinState; - SfxDockingWindow_Impl(SfxDockingWindow *pBase); + explicit SfxDockingWindow_Impl(SfxDockingWindow *pBase); SfxChildAlignment GetLastAlignment() const { return eLastAlignment; } void SetLastAlignment(SfxChildAlignment eAlign) diff --git a/sfx2/source/notebookbar/BigToolBox.hxx b/sfx2/source/notebookbar/BigToolBox.hxx index 4e319437c7cf..69d237508459 100644 --- a/sfx2/source/notebookbar/BigToolBox.hxx +++ b/sfx2/source/notebookbar/BigToolBox.hxx @@ -37,7 +37,7 @@ namespace sfx2 { namespace notebookbar { class SFX2_DLLPUBLIC BigToolBox : public sfx2::sidebar::SidebarToolBox { public: - BigToolBox(vcl::Window* pParent); + explicit BigToolBox(vcl::Window* pParent); }; diff --git a/sfx2/source/notebookbar/NotebookbarToolBox.cxx b/sfx2/source/notebookbar/NotebookbarToolBox.cxx index 08223436e064..99dc666c8bb5 100644 --- a/sfx2/source/notebookbar/NotebookbarToolBox.cxx +++ b/sfx2/source/notebookbar/NotebookbarToolBox.cxx @@ -27,7 +27,7 @@ class NotebookbarToolBox : public sfx2::sidebar::SidebarToolBox { public: - NotebookbarToolBox(vcl::Window* pParentWindow) + explicit NotebookbarToolBox(vcl::Window* pParentWindow) : sfx2::sidebar::SidebarToolBox(pParentWindow) { ToolBoxButtonSize eSize = ToolBoxButtonSize::Small; |