coverity#982483 Dereference after null check
Change-Id: I6098e597cb00fccff4cf4611a8ac82badf1bdf02
This commit is contained in:
@@ -4064,6 +4064,8 @@ void SwEditWin::MouseMove(const MouseEvent& _rMEvt)
|
||||
bool bIsSelectionGfx = rSh.GetSelectionType() & nsSelectionType::SEL_GRF;
|
||||
bool bisResize = eSdrMoveHdl != HDL_MOVE;
|
||||
|
||||
if (pSdrView)
|
||||
{
|
||||
if (rMEvt.IsShift())
|
||||
{
|
||||
pSdrView->SetAngleSnapEnabled(!bIsSelectionGfx);
|
||||
@@ -4080,6 +4082,7 @@ void SwEditWin::MouseMove(const MouseEvent& _rMEvt)
|
||||
else
|
||||
pSdrView->SetOrtho(false);
|
||||
}
|
||||
}
|
||||
|
||||
rSh.Drag( &aDocPt, rMEvt.IsShift() );
|
||||
m_bIsInMove = true;
|
||||
|
Reference in New Issue
Block a user