coverity#736776 Dereference before null check

Change-Id: Ifd666fe1b71087ab8c5a20f1bd002277fe8f05da
This commit is contained in:
Caolán McNamara 2014-03-22 16:00:46 +00:00
parent a7f6cca3b3
commit 3f50dfa1aa

View File

@ -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());
}