From b8cd2221bc0376c63b5d9d09fd1fa232b765e229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 11 Apr 2016 09:14:01 +0100 Subject: [PATCH] cppcheck: noExplicitConstructor Change-Id: Ie25240030fd848a5b30526746206bfd5fe543091 --- chart2/source/controller/accessibility/AccessibleChartShape.hxx | 2 +- svx/source/sidebar/line/LineWidthValueSet.hxx | 2 +- ucb/source/sorter/sortresult.cxx | 2 +- vcl/opengl/PackedTextureAtlas.cxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chart2/source/controller/accessibility/AccessibleChartShape.hxx b/chart2/source/controller/accessibility/AccessibleChartShape.hxx index e853c50cba96..79c88c38370a 100644 --- a/chart2/source/controller/accessibility/AccessibleChartShape.hxx +++ b/chart2/source/controller/accessibility/AccessibleChartShape.hxx @@ -44,7 +44,7 @@ class AccessibleChartShape : public impl::AccessibleChartShape_Base { public: - AccessibleChartShape( const AccessibleElementInfo& rAccInfo ); + explicit AccessibleChartShape( const AccessibleElementInfo& rAccInfo ); virtual ~AccessibleChartShape(); // ________ XServiceInfo ________ diff --git a/svx/source/sidebar/line/LineWidthValueSet.hxx b/svx/source/sidebar/line/LineWidthValueSet.hxx index 36a17ad3d45d..6fb9ae5a5bd2 100644 --- a/svx/source/sidebar/line/LineWidthValueSet.hxx +++ b/svx/source/sidebar/line/LineWidthValueSet.hxx @@ -28,7 +28,7 @@ class LineWidthValueSet : public ValueSet { public: - LineWidthValueSet(vcl::Window* pParent); + explicit LineWidthValueSet(vcl::Window* pParent); virtual ~LineWidthValueSet(); virtual void dispose() override; diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx index 47ad05a0bf6b..43c7493740d4 100644 --- a/ucb/source/sorter/sortresult.cxx +++ b/ucb/source/sorter/sortresult.cxx @@ -81,7 +81,7 @@ struct SortListData sal_IntPtr mnCurPos; sal_IntPtr mnOldPos; - SortListData( sal_IntPtr nPos ); + explicit SortListData( sal_IntPtr nPos ); }; diff --git a/vcl/opengl/PackedTextureAtlas.cxx b/vcl/opengl/PackedTextureAtlas.cxx index 60fa1e98fc41..b1766580eda5 100644 --- a/vcl/opengl/PackedTextureAtlas.cxx +++ b/vcl/opengl/PackedTextureAtlas.cxx @@ -24,7 +24,7 @@ struct Node std::unique_ptr mRightNode; bool mOccupied; - Node(Rectangle& aRectangle); + explicit Node(Rectangle& rRectangle); bool isLeaf(); Node* insert(int nWidth, int nHeight, int nPadding);