summaryrefslogtreecommitdiff
path: root/include/cppu
diff options
context:
space:
mode:
Diffstat (limited to 'include/cppu')
-rw-r--r--include/cppu/unotype.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cppu/unotype.hxx b/include/cppu/unotype.hxx
index edacc774f723..5b4cb4c6fe2c 100644
--- a/include/cppu/unotype.hxx
+++ b/include/cppu/unotype.hxx
@@ -206,8 +206,8 @@ cppu_detail_getUnoType(
SAL_UNUSED_PARAMETER ::cppu::UnoSequenceType< T > const *)
{
//TODO: depending on memory model, the following might not work reliably
- static typelib_TypeDescriptionReference * p = 0;
- if (p == 0) {
+ static typelib_TypeDescriptionReference * p = NULL;
+ if (p == NULL) {
::typelib_static_sequence_type_init(
&p, ::cppu::UnoType< T >::get().getTypeLibType());
}