diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:11:47 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:19 +0100 |
commit | fb4ce444c2239aa089b0b3c8f4b7629a624edea2 (patch) | |
tree | 518ecd4aeddc5d7b68a8051c66107751b7600451 /include/comphelper/proparrhlp.hxx | |
parent | 87a9abf351d1547638ec25c72d7fcb27d1b61440 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ibd0e6ae5e3243464b2484a009f2b4781bdaac471
Diffstat (limited to 'include/comphelper/proparrhlp.hxx')
-rw-r--r-- | include/comphelper/proparrhlp.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/comphelper/proparrhlp.hxx b/include/comphelper/proparrhlp.hxx index c78f736eb956..0f8fe7ebc36a 100644 --- a/include/comphelper/proparrhlp.hxx +++ b/include/comphelper/proparrhlp.hxx @@ -54,7 +54,7 @@ public: if (!--s_nRefCount) { delete s_pProps; - s_pProps = NULL; + s_pProps = nullptr; } } @@ -104,7 +104,7 @@ protected: Beware of the lifetime of the returned object, as it has to exist 'til the last instance of this class dies. */ - virtual IPropertyInfoService* getInfoService() const { return NULL; } + virtual IPropertyInfoService* getInfoService() const { return nullptr; } /** the return value is used for the construction of the OPropertyArrayAggregationHelper. */ @@ -115,7 +115,7 @@ template<class TYPE> sal_Int32 OPropertyArrayUsageHelper< TYPE >::s_nRefCount = 0; template<class TYPE> -::cppu::IPropertyArrayHelper* OPropertyArrayUsageHelper< TYPE >::s_pProps = NULL; +::cppu::IPropertyArrayHelper* OPropertyArrayUsageHelper< TYPE >::s_pProps = nullptr; template <class TYPE> OPropertyArrayUsageHelper<TYPE>::OPropertyArrayUsageHelper() |