longparas: these 0xFFFF are STRING_LEN

Change-Id: I9501efae520a994baaf675f70f3570d9ba3233aa
This commit is contained in:
Caolán McNamara
2014-01-12 11:31:23 +00:00
parent f042e84e63
commit 69a945d0db

View File

@@ -1437,7 +1437,7 @@ void Edit::MouseButtonDown( const MouseEvent& rMEvt )
mbClickedInSelection = sal_False;
if ( rMEvt.GetClicks() == 3 )
{
ImplSetSelection( Selection( 0, 0xFFFF ) );
ImplSetSelection( Selection( 0, STRING_LEN ) );
ImplCopyToSelectionClipboard();
}
@@ -1713,7 +1713,7 @@ sal_Bool Edit::ImplHandleKeyEvent( const KeyEvent& rKEvt )
}
else if ( bGoEnd )
{
aSel.Max() = 0xFFFF;
aSel.Max() = STRING_LEN;
}
if ( !bSelect )