diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-22 16:00:46 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-22 16:00:46 +0000 |
commit | 3f50dfa1aa99039fa65a3c55cc619a3f35873e66 (patch) | |
tree | 4f1c190268cd18e6716422288bc92601b526333b /filter | |
parent | a7f6cca3b3a7104570af5ab4b09830af3041887a (diff) |
coverity#736776 Dereference before null check
Change-Id: Ifd666fe1b71087ab8c5a20f1bd002277fe8f05da
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/pdf/impdialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx index 1c18bce3602b..b80d9d5da1e1 100644 --- a/filter/source/pdf/impdialog.cxx +++ b/filter/source/pdf/impdialog.cxx @@ -1397,7 +1397,7 @@ void ImpPDFTabLinksPage::SetFilterConfigItem( const ImpPDFTabDialog* paParent ) // and set the link action accordingly // PDF/A-1 doesn't allow launch action on links - ImpPDFTabGeneralPage* pGeneralPage = paParent ? paParent->getGeneralPage() : NULL; + ImpPDFTabGeneralPage* pGeneralPage = paParent->getGeneralPage(); if (pGeneralPage) ImplPDFALinkControl(!pGeneralPage->mpCbPDFA1b->IsChecked()); } |