summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-10-06 12:02:09 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-10-06 12:02:09 +0000
commit64c6f88d1bddd9bd595dae210ab5bd64b9b978b8 (patch)
tree24e352b33c9ca224c9a3c9f383c7e6862c52be12 /cppu
parent0bf4d844c267f116506e6e7f2726816fe2e4787f (diff)
INTEGRATION: CWS unopkg (1.10.32); FILE MERGED
2003/09/25 13:26:59 dbo 1.10.32.1: fixed debug code
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/threadpool/current.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/cppu/source/threadpool/current.cxx b/cppu/source/threadpool/current.cxx
index 56a6e627136d..081aed00f035 100644
--- a/cppu/source/threadpool/current.cxx
+++ b/cppu/source/threadpool/current.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: current.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: vg $ $Date: 2003-03-20 14:44:58 $
+ * last change: $Author: vg $ $Date: 2003-10-06 13:02:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -141,7 +141,8 @@ static typelib_InterfaceTypeDescription * get_type_XCurrentContext()
typelib_typedescription_release( (typelib_TypeDescription*)pMethod );
#if ! defined CPPU_LEAK_STATIC_DATA
// another static ref
- ++pTD->nStaticRefCount;
+ ++reinterpret_cast< typelib_TypeDescription * >( pTD )->
+ nStaticRefCount;
#endif
s_type_XCurrentContext = pTD;
}