Kaydet (Commit) 7b6ffbcc authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1343628 Dereference after null check

Change-Id: Ibaac758db8774b5721425354cba1b9f07e8cd0ff
üst a66332be
......@@ -1635,8 +1635,10 @@ IMPL_LINK_NOARG_TYPED(ScTextWnd, ModifyHdl, LinkParamNone*, void)
void ScTextWnd::StopEditEngine( bool bAll )
{
if (pEditEngine)
pEditEngine->SetNotifyHdl(Link<EENotify&, void>());
if (!pEditEngine)
return;
pEditEngine->SetNotifyHdl(Link<EENotify&, void>());
if (pEditView)
{
......
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