Kaydet (Commit) 4b91a8fb authored tarafından Thomas Arnhold's avatar Thomas Arnhold

WaE: duplicateBranch

üst a2a2e45c
...@@ -1015,7 +1015,7 @@ void ToolbarMenu::MouseMove( const MouseEvent& rMEvt ) ...@@ -1015,7 +1015,7 @@ void ToolbarMenu::MouseMove( const MouseEvent& rMEvt )
// -------------------------------------------------------------------- // --------------------------------------------------------------------
void ToolbarMenu::implHighlightEntry( const MouseEvent& rMEvt, bool bMBDown ) void ToolbarMenu::implHighlightEntry( const MouseEvent& rMEvt, bool /*bMBDown*/ )
{ {
long nMouseY = rMEvt.GetPosPixel().Y(); long nMouseY = rMEvt.GetPosPixel().Y();
Size aOutSz = GetOutputSizePixel(); Size aOutSz = GetOutputSizePixel();
...@@ -1037,21 +1037,11 @@ void ToolbarMenu::implHighlightEntry( const MouseEvent& rMEvt, bool bMBDown ) ...@@ -1037,21 +1037,11 @@ void ToolbarMenu::implHighlightEntry( const MouseEvent& rMEvt, bool bMBDown )
if( pEntry->mnEntryId != TITLE_ID ) if( pEntry->mnEntryId != TITLE_ID )
{ {
if ( ( nOldY <= nMouseY ) && ( nY > nMouseY ) ) if ( ( nOldY <= nMouseY ) && ( nY > nMouseY ) )
{
if( bMBDown )
{ {
if( nEntry != mpImpl->mnHighlightedEntry ) if( nEntry != mpImpl->mnHighlightedEntry )
{ {
implChangeHighlightEntry( nEntry ); implChangeHighlightEntry( nEntry );
} }
}
else
{
if ( nEntry != mpImpl->mnHighlightedEntry )
{
implChangeHighlightEntry( nEntry );
}
}
bHighlighted = true; bHighlighted = true;
} }
} }
......
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