diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-21 15:52:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-21 17:05:43 +0000 |
commit | a83f0c98610bae4eac5cdaf87eddfbeb3a3388f4 (patch) | |
tree | 703fe03c23189d3e3a8da584c42f4b87b3d88098 | |
parent | 08f38d591e4fafe2d739d34089b659c478aae447 (diff) |
coverity#1399027 Dereference after null check
Change-Id: I6006e98ea45a8326899c0afb7c39b0062fd27220
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index d3efaaee90db..19b898572ae2 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -1169,7 +1169,7 @@ IMPL_LINK( SfxTabDialog, DeactivatePageHdl, TabControl *, pTabCtrl, bool ) else nRet = pPage->DeactivatePage( nullptr ); if ( ( DeactivateRC::LeavePage & nRet ) == DeactivateRC::LeavePage && - aTmp.Count() ) + aTmp.Count() && m_pExampleSet) { m_pExampleSet->Put( aTmp ); m_pOutSet->Put( aTmp ); |