coverity#736776 Dereference before null check
Change-Id: Ifd666fe1b71087ab8c5a20f1bd002277fe8f05da
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user