summaryrefslogtreecommitdiff
path: root/cppu/source/typelib/static_types.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/typelib/static_types.cxx')
-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);
}
}
}