[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Mon Sep 26 19:51:30 UTC 2016


 sw/source/uibase/sidebar/PageColumnControl.hxx      |    2 +-
 sw/source/uibase/sidebar/PageOrientationControl.hxx |    2 +-
 sw/source/uibase/sidebar/PageSizeControl.hxx        |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 54bba0f517cf134302e2a09233e1c9067f0e9c15
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Sep 26 11:58:36 2016 +0100

    cppcheck: noExplicitConstructor
    
    Change-Id: Id410f19787f25bc9633ff69fa947c477cc999420

diff --git a/sw/source/uibase/sidebar/PageColumnControl.hxx b/sw/source/uibase/sidebar/PageColumnControl.hxx
index e59128a..79551ae 100644
--- a/sw/source/uibase/sidebar/PageColumnControl.hxx
+++ b/sw/source/uibase/sidebar/PageColumnControl.hxx
@@ -29,7 +29,7 @@ class PagePropertyPanel;
 class PageColumnControl : public SfxPopupWindow
 {
 public:
-    PageColumnControl( sal_uInt16 nId );
+    explicit PageColumnControl(sal_uInt16 nId);
 
     virtual ~PageColumnControl() override;
     virtual void dispose() override;
diff --git a/sw/source/uibase/sidebar/PageOrientationControl.hxx b/sw/source/uibase/sidebar/PageOrientationControl.hxx
index cba45a7..5906592 100644
--- a/sw/source/uibase/sidebar/PageOrientationControl.hxx
+++ b/sw/source/uibase/sidebar/PageOrientationControl.hxx
@@ -35,7 +35,7 @@ class PagePropertyPanel;
 class PageOrientationControl : public SfxPopupWindow
 {
 public:
-    PageOrientationControl(sal_uInt16 nId);
+    explicit PageOrientationControl(sal_uInt16 nId);
     virtual ~PageOrientationControl() override;
     virtual void dispose() override;
 
diff --git a/sw/source/uibase/sidebar/PageSizeControl.hxx b/sw/source/uibase/sidebar/PageSizeControl.hxx
index 26253af..36c8c87 100644
--- a/sw/source/uibase/sidebar/PageSizeControl.hxx
+++ b/sw/source/uibase/sidebar/PageSizeControl.hxx
@@ -45,7 +45,7 @@ class PagePropertyPanel;
 class PageSizeControl : public SfxPopupWindow
 {
 public:
-    PageSizeControl(sal_uInt16 nId);
+    explicit PageSizeControl(sal_uInt16 nId);
     virtual ~PageSizeControl() override;
     virtual void dispose() override;
 


More information about the Libreoffice-commits mailing list