summaryrefslogtreecommitdiff
path: root/vcl/source/edit
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/edit')
-rw-r--r--vcl/source/edit/vclmedit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx
index 0a3daac5794f..b1eb9b47229c 100644
--- a/vcl/source/edit/vclmedit.cxx
+++ b/vcl/source/edit/vclmedit.cxx
@@ -582,7 +582,7 @@ void ImpVclMEdit::SetSelection( const Selection& rSelection )
TextSelection aTextSel;
sal_uInt32 nPara = 0;
sal_Int32 nChar = 0;
- sal_uInt16 x = 0;
+ long x = 0;
while ( x <= nEnd )
{
if ( x == aNewSelection.Min() )