diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:27:55 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:57 +0100 |
commit | cf7dc8bc19650fe5e814205b512dffad8299c276 (patch) | |
tree | ae3653c5038c3e2d6f2afce7ae6ca21fdf848a2e /unotools/source/config/configvaluecontainer.cxx | |
parent | 34a66ff58a20856fb4388e523becdd5397e08fb0 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ib80c434598481ca0d05c800991fea9b30ef329f8
Diffstat (limited to 'unotools/source/config/configvaluecontainer.cxx')
-rw-r--r-- | unotools/source/config/configvaluecontainer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/config/configvaluecontainer.cxx b/unotools/source/config/configvaluecontainer.cxx index 13b9df0d6d24..7ec71c5e5e5b 100644 --- a/unotools/source/config/configvaluecontainer.cxx +++ b/unotools/source/config/configvaluecontainer.cxx @@ -55,7 +55,7 @@ namespace utl void bind( void* _pLocation, const Type& _rType ); - bool isBound( ) const { return ( ltUnbound != eLocationType ) && ( NULL != pLocation ); } + bool isBound( ) const { return ( ltUnbound != eLocationType ) && ( nullptr != pLocation ); } const OUString& getPath( ) const { return sRelativePath; } LocationType getLocType( ) const { return eLocationType; } void* getLocation( ) const { return pLocation; } @@ -67,7 +67,7 @@ namespace utl NodeValueAccessor::NodeValueAccessor( const OUString& _rNodePath ) :sRelativePath( _rNodePath ) ,eLocationType( ltUnbound ) - ,pLocation( NULL ) + ,pLocation( nullptr ) { } |