diff options
Diffstat (limited to 'svtools/source/control/scrwin.cxx')
-rw-r--r-- | svtools/source/control/scrwin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/scrwin.cxx b/svtools/source/control/scrwin.cxx index 65754a1db569..b56fe3db82d4 100644 --- a/svtools/source/control/scrwin.cxx +++ b/svtools/source/control/scrwin.cxx @@ -309,7 +309,7 @@ void ScrollableWindow::Scroll( long nDeltaX, long nDeltaY, ScrollFlags ) // scrolling? if ( nDeltaX != 0 || nDeltaY != 0 ) { - Update(); + PaintImmediately(); // does the new area overlap the old one? if ( std::abs( static_cast<int>(aDeltaPix.Height()) ) < aOutPixSz.Height() || @@ -329,7 +329,7 @@ void ScrollableWindow::Scroll( long nDeltaX, long nDeltaY, ScrollFlags ) Invalidate(); } - Update(); + PaintImmediately(); } if ( !bScrolling ) |