From ad62165065a0f96933d8b491770775bb57ac51bd Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 8 Jun 2015 20:53:33 +0100 Subject: cppcheck: noExplicitConstructor Change-Id: Ic33ee6936f40bec4f3a82aea39a180ae6e9a0928 --- cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cppuhelper/qa') diff --git a/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx b/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx index 6c1870fa5cca..ff7c7925276c 100644 --- a/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx +++ b/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx @@ -46,7 +46,7 @@ class ContainerListener : public ::cppu::WeakImplHelper1< XEventListener > { ContainerStats *m_pStats; public: - ContainerListener(ContainerStats *pStats) + explicit ContainerListener(ContainerStats *pStats) : m_pStats(pStats) { m_pStats->m_nAlive++; } virtual ~ContainerListener() { m_pStats->m_nAlive--; } virtual void SAL_CALL disposing( const EventObject& ) -- cgit