diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-07 12:26:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-07 16:26:43 +0000 |
commit | ade9581cda79733e9762e4f49808bb82fbf594f2 (patch) | |
tree | a0e1879960d7cd14e92874d0c583e7b988adbca8 /cui | |
parent | 85ac5749080bee41438a12e3f5dfd909dfd61d15 (diff) |
coverity#704603 Explicit null dereferenced
Change-Id: I1e15be39f4db97fb6e24b995d8bd75d829c3d015
Diffstat (limited to 'cui')
-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 e219e18df2c0..a1faaf8a1f82 100644 --- a/cui/source/dialogs/linkdlg.cxx +++ b/cui/source/dialogs/linkdlg.cxx @@ -554,7 +554,7 @@ IMPL_LINK( SvBaseLinksDlg, EndEditHdl, sfx2::SvBaseLink*, _pLink ) pLinkMgr = 0; SetManager( pNewMgr ); } - if( pLinkMgr->GetPersist() ) + if (pLinkMgr && pLinkMgr->GetPersist()) pLinkMgr->GetPersist()->SetModified(); } return 0; |