diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-03-28 22:24:49 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-03-28 22:25:08 +0100 |
commit | ac9c70b1579e94b811bcce9a84fc992cc9a3dd77 (patch) | |
tree | 875d0a38e60a38f4b4d65a7cd71a34a779be3e38 /sc | |
parent | 00ca3ed129e23d8a08f577efc1e4225bf248dbaf (diff) |
coverity#704709 Dereference after null check
Change-Id: I8acf44cf70ed9f9094d4e0601fac209e6712e400
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/pagedlg/scuitphfedit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx index a6bbe6e676a0..ec432c568199 100644 --- a/sc/source/ui/pagedlg/scuitphfedit.cxx +++ b/sc/source/ui/pagedlg/scuitphfedit.cxx @@ -511,7 +511,7 @@ void ScHFEditPage::SetSelectDefinedList() bool ScHFEditPage::IsPageEntry(EditEngine*pEngine, EditTextObject* pTextObj) { - if(!pEngine && !pTextObj) + if(!pEngine || !pTextObj) return false; bool bReturn = false; |