summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-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 32c694a12d59..a04856cb7a3c 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -424,7 +424,7 @@ void SvImpLBox::PageDown( sal_uInt16 nDelta )
long nScroll = nRealDelta * (-1);
pView->NotifyScrolling( nScroll );
Rectangle aArea( GetVisibleArea() );
- nScroll = pView->GetEntryHeight()*nRealDelta;
+ nScroll = pView->GetEntryHeight() * static_cast<long>(nRealDelta);
nScroll = -nScroll;
pView->Update();
pView->Scroll( 0, nScroll, aArea, SCROLL_NOCHILDREN );