summaryrefslogtreecommitdiff
path: root/include/svtools/asynclink.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-19 14:14:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-19 15:37:58 +0000
commit011f1e6c90a1fb50d73493b931b73559388826e8 (patch)
tree9fd0929591492664a96f2c41f1c392921667dec4 /include/svtools/asynclink.hxx
parent9891fcf7c8e88261a5b85b65a7f1f7705a3a26b9 (diff)
coverity#708192 Uninitialized pointer field
Change-Id: Iaccc034f61442242ce1b864457f0d048cdeae98d
Diffstat (limited to 'include/svtools/asynclink.hxx')
-rw-r--r--include/svtools/asynclink.hxx22
1 files changed, 17 insertions, 5 deletions
diff --git a/include/svtools/asynclink.hxx b/include/svtools/asynclink.hxx
index af10d737bbfe..1428cd564133 100644
--- a/include/svtools/asynclink.hxx
+++ b/include/svtools/asynclink.hxx
@@ -43,11 +43,23 @@ class SVT_DLLPUBLIC AsynchronLink
SVT_DLLPRIVATE void Call_Impl( void* pArg );
public:
- AsynchronLink( const Link& rLink ) :
- _aLink( rLink ), _nEventId( 0 ), _pTimer( 0 ), _bInCall( sal_False ),
- _pDeleted( 0 ), _pMutex( 0 ){}
- AsynchronLink() : _nEventId( 0 ), _pTimer( 0 ), _bInCall( sal_False ),
- _pDeleted( 0 ), _pMutex( 0 ){}
+ AsynchronLink( const Link& rLink )
+ : _aLink( rLink )
+ , _nEventId( 0 )
+ , _pTimer( 0 )
+ , _bInCall( sal_False )
+ , _pDeleted( 0 )
+ , _pArg( 0 )
+ , _pMutex( 0 )
+ {}
+ AsynchronLink()
+ : _nEventId( 0 )
+ , _pTimer( 0 )
+ , _bInCall( sal_False )
+ , _pDeleted( 0 )
+ , _pArg( 0 )
+ , _pMutex( 0 )
+ {}
~AsynchronLink();
void CreateMutex();