[Libreoffice-commits] core.git: sc/source
Julien Nabet
serval2412 at yahoo.fr
Thu Mar 28 14:27:19 PDT 2013
sc/source/ui/pagedlg/scuitphfedit.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ac9c70b1579e94b811bcce9a84fc992cc9a3dd77
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Thu Mar 28 22:24:49 2013 +0100
coverity#704709 Dereference after null check
Change-Id: I8acf44cf70ed9f9094d4e0601fac209e6712e400
diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx
index a6bbe6e..ec432c5 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;
More information about the Libreoffice-commits
mailing list