summaryrefslogtreecommitdiff
path: root/include/cppu
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:12:56 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:20 +0100
commit4730b58d9989512ed25790768ba78decfde7d667 (patch)
tree2d53902a514a0f69a70dc0bc7bebe6d39290e1be /include/cppu
parent311fd06af4e297fa748684a61edd3ee38845c485 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I17eb40b2923793280ea220e519f97563c8490a19
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());
}