diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:27:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:55 +0100 |
commit | 715cabb4d4bdaa5d764ee9461345a02b527b9f5a (patch) | |
tree | c0d9f9b2838a4f08708f04ad93a9d05740cc9f60 /include/uno/environment.hxx | |
parent | b4af1664402ce1008e168d18e5e10b5d8f946f1c (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I5bd7c5251daeeb6e0e98ef23588b2e6d7e580b78
Diffstat (limited to 'include/uno/environment.hxx')
-rw-r--r-- | include/uno/environment.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/uno/environment.hxx b/include/uno/environment.hxx index 78cf1634cd41..623f9f72f1de 100644 --- a/include/uno/environment.hxx +++ b/include/uno/environment.hxx @@ -73,7 +73,7 @@ public: @param pEnv environment */ - inline Environment( uno_Environment * pEnv = 0 ); + inline Environment( uno_Environment * pEnv = NULL ); /** Gets a specific environment. If the specified environment does not exist, then a default one is created and registered. @@ -134,7 +134,7 @@ public: @return true, if a environment is set, false otherwise */ inline bool SAL_CALL is() const - { return (_pEnv != 0); } + { return (_pEnv != NULL); } /** Releases a set environment. */ @@ -201,7 +201,7 @@ inline void Environment::clear() if (_pEnv) { (*_pEnv->release)( _pEnv ); - _pEnv = 0; + _pEnv = NULL; } } |