summaryrefslogtreecommitdiff
path: root/vcl/source/edit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-08 14:26:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-08 14:26:12 +0100
commit8ac16e14f4a77b98716f059c51a4fe5dce6ef440 (patch)
tree73a34b4a337fa096c8cdd797c195967c0ade6b50 /vcl/source/edit
parentfc33ca85789c340dace4a4505fc12124a812195a (diff)
loplugin:loopvartoosmall
Change-Id: Ie173849c0956edf9fd111120fa4bdfb2930ab69f
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() )