summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-31 16:49:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-03-31 17:04:39 +0100
commit058b5cac90051949388f136da74a515b212e7bac (patch)
tree33a277e5a2e4c88505feed31af11e2a0a308385e /cui
parentb5bfa65868b0d1cf735d81686d0f3d97e780c40d (diff)
coverity#704604 Explicit null dereferenced
Change-Id: I400105321f7bed54d56bd7af4dfd14656293b5b9
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/linkdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx
index 323354cd904b..fa7ecfe9ba4a 100644
--- a/cui/source/dialogs/linkdlg.cxx
+++ b/cui/source/dialogs/linkdlg.cxx
@@ -500,7 +500,7 @@ IMPL_LINK( SvBaseLinksDlg, BreakLinkClickHdl, PushButton *, pPushButton )
SourceName().SetText( aEmpty );
TypeName().SetText( aEmpty );
}
- if( pLinkMgr->GetPersist() )
+ if( pLinkMgr && pLinkMgr->GetPersist() )
pLinkMgr->GetPersist()->SetModified();
}
return 0;