summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-17 11:24:01 +0200
committerNoel Grandin <noel@peralex.com>2014-02-17 14:04:33 +0200
commitd22d2fb1dee46973d8608dd935d476bce2c2ad82 (patch)
tree26b41e0f8dc569e23016871ee655498254445e70 /filter
parent939e23d18d8060a155bd9b3a38b66b0d20b8c034 (diff)
cid#736777 dereference before null check
Change-Id: I40faf8a98d6e71361f952c61a8c8d6b5e25c41be
Diffstat (limited to 'filter')
-rw-r--r--filter/source/pdf/impdialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index 71b9bb90a0bf..17e03cbadf77 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -1194,7 +1194,7 @@ void ImpPDFTabSecurityPage::SetFilterConfigItem( const ImpPDFTabDialog* paParen
// set the status of this windows, according to the PDFA selection
enablePermissionControls();
- ImpPDFTabGeneralPage* pGeneralPage = paParent ? paParent->getGeneralPage() : NULL;
+ ImpPDFTabGeneralPage* pGeneralPage = paParent->getGeneralPage();
if (pGeneralPage)
ImplPDFASecurityControl(!pGeneralPage->IsPdfaSelected());