diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:28:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:32:00 +0100 |
commit | d3b6cb7ec2da4afb5687c9d28b2be2f96e6aa7b1 (patch) | |
tree | e9d209d6d5f06cacd8e0df78c7f6b8ad45d74be5 /include/vcl/lazydelete.hxx | |
parent | 45979047abbd9da7a29401f298e8ef9ab58ad337 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I05e89f9896170d4df3d1377549ea074f06b884a0
Diffstat (limited to 'include/vcl/lazydelete.hxx')
-rw-r--r-- | include/vcl/lazydelete.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/lazydelete.hxx b/include/vcl/lazydelete.hxx index bd1cc7515655..0b4bdca556bd 100644 --- a/include/vcl/lazydelete.hxx +++ b/include/vcl/lazydelete.hxx @@ -106,7 +106,7 @@ namespace vcl bool m_bDeleted; DeleteObjectEntry() : - m_pObject( NULL ), + m_pObject( nullptr ), m_bDeleted( false ) {} @@ -133,7 +133,7 @@ namespace vcl typeid(*this).name(), this ); #endif if( s_pOneInstance == this ) // sanity check - s_pOneInstance = NULL; + s_pOneInstance = nullptr; // do the actual work unsigned int nCount = m_aObjects.size(); @@ -169,7 +169,7 @@ namespace vcl */ static void Delete( vcl::Window* i_pObject ) { - if( s_pOneInstance == NULL ) + if( s_pOneInstance == nullptr ) s_pOneInstance = new LazyDeletor(); // is this object already in the list ? |