diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-12 13:09:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-12 14:26:47 +0000 |
commit | 2842e32490ad23602065e29d2cfe38adfeb483cb (patch) | |
tree | 20a8ce0ed4a2032ea49aba8753427978ddce4dd9 | |
parent | 6744d1d8f9b73375483ae04d4530f151cce40957 (diff) |
coverity#441125 Dereference after null check
Change-Id: Ia8046dc20ff46612ad3ffeba098bee079858e8da
-rw-r--r-- | sfx2/source/control/bindings.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx index 905fcfe01144..a441dfa10feb 100644 --- a/sfx2/source/control/bindings.cxx +++ b/sfx2/source/control/bindings.cxx @@ -1609,7 +1609,7 @@ IMPL_LINK( SfxBindings, NextJob_Impl, Timer *, pTimer ) pDispatcher->Update_Impl(); // modifying the SfxObjectInterface-stack without SfxBindings => nothing to do - SfxViewFrame* pFrame = pDispatcher->GetFrame(); + SfxViewFrame* pFrame = pDispatcher ? pDispatcher->GetFrame() : NULL; if ( (pFrame && !pFrame->GetObjectShell()->AcceptStateUpdate()) || pSfxApp->IsDowning() || pImp->pCaches->empty() ) { DBG_PROFSTOP(SfxBindingsNextJob_Impl0); |