diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-04 10:33:12 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-04 11:11:02 +0000 |
commit | c7949a9451597b3bc9e39deb2254183eda13b351 (patch) | |
tree | b2e40bd977e2f10a33ec62a693adf4b1d4f27e7f | |
parent | 3edd1e697609559b507581352a7c3aa807f4d642 (diff) |
coverity#1266467 Dereference null return value
Change-Id: I3c4f4b64c0247ba849df3f74e385b36b020a0da1
-rw-r--r-- | sw/source/uibase/shells/basesh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx index 6de9bb702c5b..6813b0a736f1 100644 --- a/sw/source/uibase/shells/basesh.cxx +++ b/sw/source/uibase/shells/basesh.cxx @@ -1465,7 +1465,7 @@ void SwBaseShell::GetState( SfxItemSet &rSet ) else { SvxIMapDlg *pDlg = GetIMapDlg(GetView()); - if( pDlg->GetEditingObject() != rSh.GetIMapInventor() ) + if (pDlg && pDlg->GetEditingObject() != rSh.GetIMapInventor()) lcl_UpdateIMapDlg( rSh ); } } |