cppcheck: noExplicitConstructor

Change-Id: Ie25240030fd848a5b30526746206bfd5fe543091
This commit is contained in:
Caolán McNamara
2016-04-11 09:14:01 +01:00
parent 5c36205847
commit b8cd2221bc
4 changed files with 4 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ class AccessibleChartShape :
public impl::AccessibleChartShape_Base
{
public:
AccessibleChartShape( const AccessibleElementInfo& rAccInfo );
explicit AccessibleChartShape( const AccessibleElementInfo& rAccInfo );
virtual ~AccessibleChartShape();
// ________ XServiceInfo ________

View File

@@ -28,7 +28,7 @@ class LineWidthValueSet
: public ValueSet
{
public:
LineWidthValueSet(vcl::Window* pParent);
explicit LineWidthValueSet(vcl::Window* pParent);
virtual ~LineWidthValueSet();
virtual void dispose() override;

View File

@@ -81,7 +81,7 @@ struct SortListData
sal_IntPtr mnCurPos;
sal_IntPtr mnOldPos;
SortListData( sal_IntPtr nPos );
explicit SortListData( sal_IntPtr nPos );
};

View File

@@ -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);