summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-02-08 10:33:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-02-08 12:17:34 +0000
commit16b93ae648f3e9675eeb6980925957e2ccbcfdf2 (patch)
treef5e105d869df71ca646f2d63351ced9e92ed3c66
parentc4f056c01b674046c8d1852ae5e5ce0d48b0714f (diff)
cppcheck: noExplicitConstructor
Change-Id: I74585aa5a50cd335f4fd0a3ba4fed230b98993c3
-rw-r--r--sal/cppunittester/cppunittester.cxx2
-rw-r--r--sd/source/ui/animations/CategoryListBox.hxx2
-rw-r--r--sw/source/core/unocore/unotbl.cxx2
-rw-r--r--vcl/headless/svpgdi.cxx4
-rw-r--r--xmlsecurity/source/helper/ooxmlsecparser.hxx2
5 files changed, 6 insertions, 6 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx
index 22af5001fda7..fa0c57934e45 100644
--- a/sal/cppunittester/cppunittester.cxx
+++ b/sal/cppunittester/cppunittester.cxx
@@ -173,7 +173,7 @@ namespace {
struct test_name_compare
{
- test_name_compare(const std::string& rName):
+ explicit test_name_compare(const std::string& rName):
maName(rName)
{
}
diff --git a/sd/source/ui/animations/CategoryListBox.hxx b/sd/source/ui/animations/CategoryListBox.hxx
index 4b9debb38244..f044ac4b6c2f 100644
--- a/sd/source/ui/animations/CategoryListBox.hxx
+++ b/sd/source/ui/animations/CategoryListBox.hxx
@@ -9,7 +9,7 @@ namespace sd {
class CategoryListBox : public ListBox
{
public:
- CategoryListBox( vcl::Window* pParent );
+ explicit CategoryListBox( vcl::Window* pParent );
virtual ~CategoryListBox();
virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 31372e1d7214..6f88f4828a44 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -1974,7 +1974,7 @@ public:
unsigned short m_nRows;
unsigned short m_nColumns;
- Impl(SwFrameFormat *const pFrameFormat)
+ explicit Impl(SwFrameFormat *const pFrameFormat)
: SwClient(pFrameFormat)
, m_Listeners(m_Mutex)
, m_pPropSet(aSwMapProvider.GetPropertySet(PROPERTY_MAP_TEXT_TABLE))
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 5baa761c88b8..b99ea09ef427 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -103,7 +103,7 @@ namespace
class SourceHelper
{
public:
- SourceHelper(const SalBitmap& rSourceBitmap)
+ explicit SourceHelper(const SalBitmap& rSourceBitmap)
{
const SvpSalBitmap& rSrcBmp = static_cast<const SvpSalBitmap&>(rSourceBitmap);
@@ -142,7 +142,7 @@ namespace
class MaskHelper
{
public:
- MaskHelper(const SalBitmap& rAlphaBitmap)
+ explicit MaskHelper(const SalBitmap& rAlphaBitmap)
{
const SvpSalBitmap& rMask = static_cast<const SvpSalBitmap&>(rAlphaBitmap);
const BitmapBuffer* pMaskBuf = rMask.GetBuffer();
diff --git a/xmlsecurity/source/helper/ooxmlsecparser.hxx b/xmlsecurity/source/helper/ooxmlsecparser.hxx
index 73ac0b22be97..dbb01517fdc9 100644
--- a/xmlsecurity/source/helper/ooxmlsecparser.hxx
+++ b/xmlsecurity/source/helper/ooxmlsecparser.hxx
@@ -45,7 +45,7 @@ class OOXMLSecParser: public cppu::WeakImplHelper
bool m_bReferenceUnresolved;
public:
- OOXMLSecParser(XSecController* pXSecController);
+ explicit OOXMLSecParser(XSecController* pXSecController);
virtual ~OOXMLSecParser();
// XDocumentHandler