Kaydet (Commit) ac9c70b1 authored tarafından Julien Nabet's avatar Julien Nabet

coverity#704709 Dereference after null check

Change-Id: I8acf44cf70ed9f9094d4e0601fac209e6712e400
üst 00ca3ed1
...@@ -511,7 +511,7 @@ void ScHFEditPage::SetSelectDefinedList() ...@@ -511,7 +511,7 @@ void ScHFEditPage::SetSelectDefinedList()
bool ScHFEditPage::IsPageEntry(EditEngine*pEngine, EditTextObject* pTextObj) bool ScHFEditPage::IsPageEntry(EditEngine*pEngine, EditTextObject* pTextObj)
{ {
if(!pEngine && !pTextObj) if(!pEngine || !pTextObj)
return false; return false;
bool bReturn = false; bool bReturn = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment