summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-12 13:09:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-12 14:26:47 +0000
commit2842e32490ad23602065e29d2cfe38adfeb483cb (patch)
tree20a8ce0ed4a2032ea49aba8753427978ddce4dd9 /sfx2
parent6744d1d8f9b73375483ae04d4530f151cce40957 (diff)
coverity#441125 Dereference after null check
Change-Id: Ia8046dc20ff46612ad3ffeba098bee079858e8da
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 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);