summaryrefslogtreecommitdiff
path: root/cppuhelper/source/weak.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-08 20:53:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-09 10:34:00 +0100
commitad62165065a0f96933d8b491770775bb57ac51bd (patch)
treebe8f806481f96756bc33d9414640b31dd1e84f5f /cppuhelper/source/weak.cxx
parentcc0e9a37de8bceeb224b03a5bb1827b087e3e7b5 (diff)
cppcheck: noExplicitConstructor
Change-Id: Ic33ee6936f40bec4f3a82aea39a180ae6e9a0928
Diffstat (limited to 'cppuhelper/source/weak.cxx')
-rw-r--r--cppuhelper/source/weak.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx
index 7532955ad4e6..fa79faeaa82b 100644
--- a/cppuhelper/source/weak.cxx
+++ b/cppuhelper/source/weak.cxx
@@ -51,7 +51,7 @@ public:
/**
Hold the weak object without an acquire (only the pointer).
*/
- OWeakConnectionPoint( OWeakObject* pObj )
+ explicit OWeakConnectionPoint( OWeakObject* pObj )
: m_aRefCount( 0 )
, m_pObject(pObj)
, m_aReferences( getWeakMutex() )
@@ -320,7 +320,7 @@ namespace uno
class OWeakRefListener: public XReference, private boost::noncopyable
{
public:
- OWeakRefListener(const Reference< XInterface >& xInt);
+ explicit OWeakRefListener(const Reference< XInterface >& xInt);
virtual ~OWeakRefListener();
// XInterface