diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:13:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:22 +0100 |
commit | 89c4edc13f203db1641c63e22774262bbe61f36f (patch) | |
tree | 0aa28439045c19140ff51cd6cf1593d8cf515d89 /include/dbaccess | |
parent | b58d56c5109f4cf6cacfc8e9c424b179a65bf1f1 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I2bba104b1bff30910864e45b5b032533099742ff
Diffstat (limited to 'include/dbaccess')
-rw-r--r-- | include/dbaccess/AsynchronousLink.hxx | 4 | ||||
-rw-r--r-- | include/dbaccess/genericcontroller.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
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<void*,void>& _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 */ |