From 89c4edc13f203db1641c63e22774262bbe61f36f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Nov 2015 10:13:39 +0100 Subject: loplugin:nullptr (automatic rewrite) Change-Id: I2bba104b1bff30910864e45b5b032533099742ff --- include/dbaccess/AsynchronousLink.hxx | 4 ++-- include/dbaccess/genericcontroller.hxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include/dbaccess') diff --git a/include/dbaccess/AsynchronousLink.hxx b/include/dbaccess/AsynchronousLink.hxx index 86f2519c7a2e..aaeb187d974c 100644 --- a/include/dbaccess/AsynchronousLink.hxx +++ b/include/dbaccess/AsynchronousLink.hxx @@ -52,9 +52,9 @@ namespace dbaui OAsynchronousLink( const Link& _rHandler ); virtual ~OAsynchronousLink(); - bool IsRunning() const { return m_nEventId != 0; } + bool IsRunning() const { return m_nEventId != nullptr; } - void Call( void* _pArgument = NULL ); + void Call( void* _pArgument = nullptr ); void CancelCall(); protected: diff --git a/include/dbaccess/genericcontroller.hxx b/include/dbaccess/genericcontroller.hxx index 119a96f6ba95..ba86c687495e 100644 --- a/include/dbaccess/genericcontroller.hxx +++ b/include/dbaccess/genericcontroller.hxx @@ -419,7 +419,7 @@ namespace dbaui // to all listeners to the given css::util::URL // if there is a toolbar slot with the given id it is updated (the new state is determined via GetState) // if _bForceBroadcast is sal_True, the current feature state is broadcasted no matter if it is the same as the cached state - void InvalidateFeature(sal_uInt16 nId, const css::uno::Reference< css::frame::XStatusListener > & xListener = NULL, bool _bForceBroadcast = false); + void InvalidateFeature(sal_uInt16 nId, const css::uno::Reference< css::frame::XStatusListener > & xListener = nullptr, bool _bForceBroadcast = false); /** InvalidateAll invalidates all features currently known */ -- cgit