coverity#736772 Dereference before null check

Change-Id: Idf973cb888c7ac7a3e33aa2fdec0e25515b1feca
This commit is contained in:
Caolán McNamara
2014-03-22 16:03:33 +00:00
parent 3f50dfa1aa
commit 901f3f76bc

View File

@@ -1563,7 +1563,7 @@ void ImpEditView::dragGestureRecognized(const ::com::sun::star::datatransfer::dn
GetEditSelection() = aCopySel;
DrawSelection();
sal_Bool bGotoCursor = DoAutoScroll();
sal_Bool bForceCursor = ( pDragAndDropInfo ? sal_False : sal_True ) && !pEditEngine->pImpEditEngine->IsInSelectionMode();
sal_Bool bForceCursor = sal_False;
ShowCursor( bGotoCursor, bForceCursor );
}
else if ( IsBulletArea( aMousePos, &nPara ) )