diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-03-20 13:00:45 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-03-20 12:31:19 +0000 |
commit | 1890f4ba4c0b345a73185adf320d06d0974f644b (patch) | |
tree | 581e82afca46bb7b0c8aad1e349b3dbfc7cba0f5 /dbaccess | |
parent | 46b56dd6d422dfae325dee2b47b395e62817db1a (diff) |
coverity#704618 Explicit null dereferenced
Change-Id: I9f3befc235b0fb7933294be4a97d168ef203a79c
Reviewed-on: https://gerrit.libreoffice.org/2866
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/dbwizsetup.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/dlg/dbwizsetup.cxx b/dbaccess/source/ui/dlg/dbwizsetup.cxx index 7a9afc377d1e..338e7c0d9ff4 100644 --- a/dbaccess/source/ui/dlg/dbwizsetup.cxx +++ b/dbaccess/source/ui/dlg/dbwizsetup.cxx @@ -587,7 +587,7 @@ TabPage* ODbTypeWizDialogSetup::createPage(WizardState _nState) break; } - if ((_nState != PAGE_DBSETUPWIZARD_INTRO) && (_nState != PAGE_DBSETUPWIZARD_AUTHENTIFICATION)) + if (pPage && (_nState != PAGE_DBSETUPWIZARD_INTRO) && (_nState != PAGE_DBSETUPWIZARD_AUTHENTIFICATION)) { pPage->SetModifiedHandler(LINK( this, ODbTypeWizDialogSetup, ImplModifiedHdl ) ); } |