longparas: these 0xFFFF are STRING_LEN
Change-Id: I9501efae520a994baaf675f70f3570d9ba3233aa
This commit is contained in:
@@ -1437,7 +1437,7 @@ void Edit::MouseButtonDown( const MouseEvent& rMEvt )
|
|||||||
mbClickedInSelection = sal_False;
|
mbClickedInSelection = sal_False;
|
||||||
if ( rMEvt.GetClicks() == 3 )
|
if ( rMEvt.GetClicks() == 3 )
|
||||||
{
|
{
|
||||||
ImplSetSelection( Selection( 0, 0xFFFF ) );
|
ImplSetSelection( Selection( 0, STRING_LEN ) );
|
||||||
ImplCopyToSelectionClipboard();
|
ImplCopyToSelectionClipboard();
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1713,7 +1713,7 @@ sal_Bool Edit::ImplHandleKeyEvent( const KeyEvent& rKEvt )
|
|||||||
}
|
}
|
||||||
else if ( bGoEnd )
|
else if ( bGoEnd )
|
||||||
{
|
{
|
||||||
aSel.Max() = 0xFFFF;
|
aSel.Max() = STRING_LEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !bSelect )
|
if ( !bSelect )
|
||||||
|
Reference in New Issue
Block a user