summaryrefslogtreecommitdiff
path: root/cppu/source/typelib
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-12-01 21:22:34 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-12-01 21:24:49 +0100
commitdb4017cb710b254ccc4e1980fdf419134afab252 (patch)
tree2cc5cea755b7c94400eb34428a98e2961b67013d /cppu/source/typelib
parentf799339a4ccf1d6e35976e9e185c94c1d68c3d5b (diff)
The other uses of pReserved had been changed to nStaticRefCount in 2001.
Diffstat (limited to 'cppu/source/typelib')
-rw-r--r--cppu/source/typelib/static_types.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppu/source/typelib/static_types.cxx b/cppu/source/typelib/static_types.cxx
index 0727faf6b120..32e468443810 100644
--- a/cppu/source/typelib/static_types.cxx
+++ b/cppu/source/typelib/static_types.cxx
@@ -578,7 +578,7 @@ void SAL_CALL typelib_static_enum_type_init(
OSL_ASSERT( *ppRef == pReg->pWeakRef );
}
// another static ref:
- ++(*(sal_Int32 *)&(*ppRef)->pReserved);
+ ++((*ppRef)->nStaticRefCount);
}
}
}