diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-11 14:32:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-11 14:32:07 +0200 |
commit | f541b99855bd70781f8d7d655ab259ff9eb596f0 (patch) | |
tree | 162ea1823d835f484f08aaaf2390a9130a23d5e9 /desktop/source/pkgchk | |
parent | 545d5157f26b7fd3c5648ae6e727b1e1addca68f (diff) |
loplugin:nullptr: Better heuristic to determine code shared between C and C++
Change-Id: I51e1c5fa4639e51fac90f92adf3d87d12960d589
Diffstat (limited to 'desktop/source/pkgchk')
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_shared.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_shared.h b/desktop/source/pkgchk/unopkg/unopkg_shared.h index a11a29beda43..aba49127b30f 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_shared.h +++ b/desktop/source/pkgchk/unopkg/unopkg_shared.h @@ -74,7 +74,7 @@ inline bool readOption( bool * flag, OptionInfo const * option_info, sal_uInt32 * pIndex ) { if (isOption( option_info, pIndex )) { - OSL_ASSERT( flag != NULL ); + OSL_ASSERT( flag != nullptr ); *flag = true; return true; } |