diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-24 09:46:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-24 12:12:23 +0000 |
commit | 43babef4fb98e7e867fe6fc2394e5aa81b2aaabd (patch) | |
tree | bbb8fedb97e857794bde63594bc1dc3e4316b158 /svx | |
parent | 8214c1d6156c90cbf259b15cf1c8e15ea1c70daf (diff) |
coverity#704820 Dereference after null check
Change-Id: I70478f2473d766bc166de642cb70c3f9cc29be69
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/filtnav.cxx | 3 |
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 |