diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:33:56 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:36:29 +0200 |
commit | 746a717ed4648cd6c0d0d810a90a6539373b130c (patch) | |
tree | a1a2b3a3df4f968ccc98423a5b163d4b366b4c16 /sw/inc/calbck.hxx | |
parent | 24df2bd5cb68f8de5e22a27f6a3505d099bc3581 (diff) |
loplugin:simplifybool
Change-Id: Ic90d247e6c8e36e27ff444ace10fd37e06d46b50
Diffstat (limited to 'sw/inc/calbck.hxx')
-rw-r--r-- | sw/inc/calbck.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index ab91b51faadd..a27b7e9abe88 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -224,7 +224,7 @@ public: /** get Client information */ virtual bool GetInfo( SfxPoolItem& rInfo) const SAL_OVERRIDE - { return m_pToTell ? m_pToTell->GetInfo( rInfo ) : true; } + { return m_pToTell == nullptr || m_pToTell->GetInfo( rInfo ); } protected: virtual void Modify( const SfxPoolItem* pOldValue, const SfxPoolItem *pNewValue ) SAL_OVERRIDE { |