Kaydet (Commit) 99f58dc2 authored tarafından Chris Sherlock's avatar Chris Sherlock

vcl: remove dead code and useless task comments from winproc.cxx

Change-Id: I10e4a0aa23fe83fa0f2edd671b321fa4588c880f
üst 64f186cf
...@@ -101,11 +101,7 @@ static bool ImplHandleMouseFloatMode( Window* pChild, const Point& rMousePos, ...@@ -101,11 +101,7 @@ static bool ImplHandleMouseFloatMode( Window* pChild, const Point& rMousePos,
pLastLevelFloat = pSVData->maWinData.mpFirstFloat->ImplFindLastLevelFloat(); pLastLevelFloat = pSVData->maWinData.mpFirstFloat->ImplFindLastLevelFloat();
nPopupFlags = pLastLevelFloat->GetPopupModeFlags(); nPopupFlags = pLastLevelFloat->GetPopupModeFlags();
pLastLevelFloat->EndPopupMode( FLOATWIN_POPUPMODEEND_CANCEL | FLOATWIN_POPUPMODEEND_CLOSEALL ); pLastLevelFloat->EndPopupMode( FLOATWIN_POPUPMODEEND_CANCEL | FLOATWIN_POPUPMODEEND_CLOSEALL );
// Erstmal ausgebaut als Hack fuer Bug 53378 return true;
// if ( nPopupFlags & FLOATWIN_POPUPMODE_PATHMOUSECANCELCLICK )
// return false;
// else
return true;
} }
else if ( nHitTest == HITTEST_RECT ) else if ( nHitTest == HITTEST_RECT )
{ {
...@@ -550,7 +546,6 @@ bool ImplHandleMouseEvent( Window* pWindow, sal_uInt16 nSVEvent, bool bMouseLeav ...@@ -550,7 +546,6 @@ bool ImplHandleMouseEvent( Window* pWindow, sal_uInt16 nSVEvent, bool bMouseLeav
if ( !ImplCallPreNotify( aNLeaveEvt ) ) if ( !ImplCallPreNotify( aNLeaveEvt ) )
{ {
pMouseMoveWin->MouseMove( aMLeaveEvt ); pMouseMoveWin->MouseMove( aMLeaveEvt );
// #82968#
if( !aDelData.IsDead() ) if( !aDelData.IsDead() )
aNLeaveEvt.GetWindow()->ImplNotifyKeyMouseCommandEventListeners( aNLeaveEvt ); aNLeaveEvt.GetWindow()->ImplNotifyKeyMouseCommandEventListeners( aNLeaveEvt );
} }
...@@ -747,7 +742,6 @@ bool ImplHandleMouseEvent( Window* pWindow, sal_uInt16 nSVEvent, bool bMouseLeav ...@@ -747,7 +742,6 @@ bool ImplHandleMouseEvent( Window* pWindow, sal_uInt16 nSVEvent, bool bMouseLeav
} }
} }
// #82968#
if ( !aDelData.IsDead() ) if ( !aDelData.IsDead() )
aNEvt.GetWindow()->ImplNotifyKeyMouseCommandEventListeners( aNEvt ); aNEvt.GetWindow()->ImplNotifyKeyMouseCommandEventListeners( aNEvt );
} }
...@@ -1038,7 +1032,6 @@ static bool ImplHandleKey( Window* pWindow, sal_uInt16 nSVEvent, ...@@ -1038,7 +1032,6 @@ static bool ImplHandleKey( Window* pWindow, sal_uInt16 nSVEvent,
pChild->ImplGetWindowImpl()->mbKeyUp = false; pChild->ImplGetWindowImpl()->mbKeyUp = false;
pChild->KeyUp( aKeyEvt ); pChild->KeyUp( aKeyEvt );
} }
// #82968#
if( !aDelData.IsDead() ) if( !aDelData.IsDead() )
aNotifyEvt.GetWindow()->ImplNotifyKeyMouseCommandEventListeners( aNotifyEvt ); aNotifyEvt.GetWindow()->ImplNotifyKeyMouseCommandEventListeners( aNotifyEvt );
} }
...@@ -1152,7 +1145,7 @@ static bool ImplHandleKey( Window* pWindow, sal_uInt16 nSVEvent, ...@@ -1152,7 +1145,7 @@ static bool ImplHandleKey( Window* pWindow, sal_uInt16 nSVEvent,
pChild->ImplGetWindowImpl()->mbKeyUp = false; pChild->ImplGetWindowImpl()->mbKeyUp = false;
pChild->KeyUp( aKEvt ); pChild->KeyUp( aKEvt );
} }
// #82968#
if( !aChildDelData.IsDead() ) if( !aChildDelData.IsDead() )
aNEvt.GetWindow()->ImplNotifyKeyMouseCommandEventListeners( aNEvt ); aNEvt.GetWindow()->ImplNotifyKeyMouseCommandEventListeners( aNEvt );
if ( aChildDelData.IsDead() ) if ( aChildDelData.IsDead() )
......
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