summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-07-20 15:19:50 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-07-20 15:19:50 +0000
commitc6f808d65bda7192a6b926bbff0f96f302e64425 (patch)
tree2178cbb2cf3fdf29700fdb62514af768b123d788 /framework
parentc2269602d902f130fb4bb9b94e866130ab0bbcfb (diff)
#i10000#: initialize member of MutexRef
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/helper/shareablemutex.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/inc/helper/shareablemutex.hxx b/framework/inc/helper/shareablemutex.hxx
index 41772e31615f..2f4df3cdec05 100644
--- a/framework/inc/helper/shareablemutex.hxx
+++ b/framework/inc/helper/shareablemutex.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: shareablemutex.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: hr $ $Date: 2004-03-11 11:05:24 $
+ * last change: $Author: hr $ $Date: 2004-07-20 16:19:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -88,6 +88,7 @@ class ShareableMutex
private:
struct MutexRef
{
+ MutexRef() : m_refCount(0) {}
void acquire()
{
osl_incrementInterlockedCount( &m_refCount );