summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-14 15:18:52 +0200
committerNoel Grandin <noel@peralex.com>2014-02-17 14:04:32 +0200
commit4f430d7a925b8e3bdd24c284e398628e2b929098 (patch)
treedfe607a5b3524b0ca8db09c0b7ade71b8720c5cc /sfx2
parenta02ec9ebef8608c4f69e8e674a894d09add68dba (diff)
cid#705884 dereference before null check
Change-Id: I55258bb30034b95f53134a9747088fc488796564
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/bindings.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index a441dfa10feb..a847477a9903 100644
--- a/sfx2/source/control/bindings.cxx
+++ b/sfx2/source/control/bindings.cxx
@@ -1126,7 +1126,7 @@ const SfxPoolItem* SfxBindings::Execute_Impl( sal_uInt16 nId, const SfxPoolItem*
pCache->GetSlotServer( rDispatcher, pImp->xProv );
}
- if ( pCache && pCache->GetDispatch().is() )
+ if ( pCache->GetDispatch().is() )
{
DBG_ASSERT( !ppInternalArgs, "Internal args get lost when dispatched!" );