[Libreoffice-commits] core.git: chart2/source svx/source ucb/source vcl/opengl
Caolán McNamara
caolanm at redhat.com
Mon Apr 11 09:07:31 UTC 2016
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(-)
New commits:
commit b8cd2221bc0376c63b5d9d09fd1fa232b765e229
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Apr 11 09:14:01 2016 +0100
cppcheck: noExplicitConstructor
Change-Id: Ie25240030fd848a5b30526746206bfd5fe543091
diff --git a/chart2/source/controller/accessibility/AccessibleChartShape.hxx b/chart2/source/controller/accessibility/AccessibleChartShape.hxx
index e853c50..79c88c3 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 36a17ad..6fb9ae5 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 47ad05a..43c7493 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 60fa1e9..b176658 100644
--- a/vcl/opengl/PackedTextureAtlas.cxx
+++ b/vcl/opengl/PackedTextureAtlas.cxx
@@ -24,7 +24,7 @@ struct Node
std::unique_ptr<Node> mRightNode;
bool mOccupied;
- Node(Rectangle& aRectangle);
+ explicit Node(Rectangle& rRectangle);
bool isLeaf();
Node* insert(int nWidth, int nHeight, int nPadding);
More information about the Libreoffice-commits
mailing list