Kaydet (Commit) 051d45a5 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1213293 Dereference before null check

Change-Id: If2dd3cb1c7e18bf0274551950bc33f7521e0f8e1
üst c27a3171
......@@ -1364,8 +1364,7 @@ void Outliner::EnterEditMode (bool bGrabFocus)
mpView->UnmarkAllObj (pPV);
mpView->MarkObj (mpTextObj, pPV);
if( mpTextObj )
mpTextObj->setActiveText( mnText );
mpTextObj->setActiveText( mnText );
// Turn on the edit mode for the text object.
mpView->SdrBeginTextEdit(mpTextObj, pPV, mpWindow, true, this, pOutlinerView, true, true, bGrabFocus);
......
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