summaryrefslogtreecommitdiff
path: root/svtools/source/contnr/svimpbox.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-08 11:01:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-08 11:01:32 +0100
commit6412b9c5dd10af511cc255a952be4b18a25ab9a8 (patch)
tree66eb7ad4d2a7f2fe351d8c5b5c56658ef825eb4c /svtools/source/contnr/svimpbox.cxx
parent6271381baa0d2db257070cb7ecfc9abf89faaf0f (diff)
loplugin:loopvartoosmall
Change-Id: If76fa042462897735d0d67341a3734b8cfced12c
Diffstat (limited to 'svtools/source/contnr/svimpbox.cxx')
-rw-r--r--svtools/source/contnr/svimpbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index b25a5a068851..fb3c17827bee 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -1331,7 +1331,7 @@ void SvImpLBox::FillView()
{
sal_uInt16 nLast = (sal_uInt16)(pView->GetVisiblePos(pView->LastVisible()));
sal_uInt16 nThumb = (sal_uInt16)(pView->GetVisiblePos( pStartEntry ));
- sal_uInt16 nCurDispEntries = nLast-nThumb+1;
+ sal_uLong nCurDispEntries = nLast-nThumb+1;
if( nCurDispEntries < nVisibleCount )
{
ShowCursor( false );