From f541b99855bd70781f8d7d655ab259ff9eb596f0 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 11 Jul 2016 14:32:07 +0200 Subject: loplugin:nullptr: Better heuristic to determine code shared between C and C++ Change-Id: I51e1c5fa4639e51fac90f92adf3d87d12960d589 --- desktop/source/deployment/inc/dp_misc.h | 2 +- desktop/source/pkgchk/unopkg/unopkg_shared.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop') diff --git a/desktop/source/deployment/inc/dp_misc.h b/desktop/source/deployment/inc/dp_misc.h index 59956e2bd98c..16cd44273712 100644 --- a/desktop/source/deployment/inc/dp_misc.h +++ b/desktop/source/deployment/inc/dp_misc.h @@ -97,7 +97,7 @@ DESKTOP_DEPLOYMENTMISC_DLLPUBLIC css::uno::Reference< css::uno::XInterface> resolveUnoURL( OUString const & connectString, css::uno::Reference< css::uno::XComponentContext> const & xLocalContext, - AbortChannel * abortChannel = NULL ); + AbortChannel * abortChannel = nullptr ); DESKTOP_DEPLOYMENTMISC_DLLPUBLIC bool office_is_running(); 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; } -- cgit