summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 2d8aa12e3478..33e5b296dc12 100644
--- a/cppu/source/typelib/static_types.cxx
+++ b/cppu/source/typelib/static_types.cxx
@@ -289,7 +289,7 @@ void SAL_CALL typelib_static_type_init(
OUString aTypeName( OUString::createFromAscii( pTypeName ) );
::typelib_typedescriptionreference_new( ppRef, eTypeClass, aTypeName.pData );
- // coverity[var_deref_op] - another static ref
+ assert(*ppRef && "coverity[var_deref_op] - shouldn't be possible");
++((*ppRef)->nStaticRefCount);
}
}