From 3f50dfa1aa99039fa65a3c55cc619a3f35873e66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 22 Mar 2014 16:00:46 +0000 Subject: [PATCH] coverity#736776 Dereference before null check Change-Id: Ifd666fe1b71087ab8c5a20f1bd002277fe8f05da --- filter/source/pdf/impdialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }