summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-24 09:46:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-24 12:12:23 +0000
commit43babef4fb98e7e867fe6fc2394e5aa81b2aaabd (patch)
treebbb8fedb97e857794bde63594bc1dc3e4316b158 /svx
parent8214c1d6156c90cbf259b15cf1c8e15ea1c70daf (diff)
coverity#704820 Dereference after null check
Change-Id: I70478f2473d766bc166de642cb70c3f9cc29be69
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/filtnav.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx
index 0341e54548ff..9867bf71fc48 100644
--- a/svx/source/form/filtnav.cxx
+++ b/svx/source/form/filtnav.cxx
@@ -1919,6 +1919,9 @@ FmFilterNavigatorWin::~FmFilterNavigatorWin()
void FmFilterNavigatorWin::UpdateContent(FmFormShell* pFormShell)
{
+ if (!m_pNavigator)
+ return;
+
if (!pFormShell)
m_pNavigator->UpdateContent( NULL, NULL );
else