diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-31 16:49:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-31 17:04:39 +0100 |
commit | 058b5cac90051949388f136da74a515b212e7bac (patch) | |
tree | 33a277e5a2e4c88505feed31af11e2a0a308385e /cui/source/dialogs/linkdlg.cxx | |
parent | b5bfa65868b0d1cf735d81686d0f3d97e780c40d (diff) |
coverity#704604 Explicit null dereferenced
Change-Id: I400105321f7bed54d56bd7af4dfd14656293b5b9
Diffstat (limited to 'cui/source/dialogs/linkdlg.cxx')
-rw-r--r-- | cui/source/dialogs/linkdlg.cxx | 2 |
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; |