summaryrefslogtreecommitdiff
path: root/include/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'include/dbaccess')
-rw-r--r--include/dbaccess/AsynchronousLink.hxx4
-rw-r--r--include/dbaccess/genericcontroller.hxx2
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
*/