summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/svimpbox.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index 8771f040b965..f4a1deebd2e2 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -420,9 +420,8 @@ void SvImpLBox::PageDown( sal_uInt16 nDelta )
}
else
{
- long nScroll = nRealDelta * (-1);
Rectangle aArea( GetVisibleArea() );
- nScroll = pView->GetEntryHeight() * static_cast<long>(nRealDelta);
+ long nScroll = pView->GetEntryHeight() * static_cast<long>(nRealDelta);
nScroll = -nScroll;
pView->Update();
pView->Scroll( 0, nScroll, aArea, ScrollFlags::NoChildren );