summaryrefslogtreecommitdiff
path: root/vcl/source/window/paint.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/paint.cxx')
-rw-r--r--vcl/source/window/paint.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index b54c37aa04c2..515078b3faa6 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -1644,7 +1644,6 @@ void Window::ImplScroll( const tools::Rectangle& rRect,
// so it has to be re-mirrored before calling the Paint-handler
mpWindowImpl->mnPaintFlags |= ImplPaintFlags::CheckRtl;
- InvalidateFlags nPaintFlags = InvalidateFlags::Children;
if ( !bScrollChildren )
{
if ( nOrgFlags & ScrollFlags::NoChildren )
@@ -1652,7 +1651,7 @@ void Window::ImplScroll( const tools::Rectangle& rRect,
else
ImplClipChildren( aInvalidateRegion );
}
- ImplInvalidateFrameRegion( &aInvalidateRegion, nPaintFlags );
+ ImplInvalidateFrameRegion( &aInvalidateRegion, InvalidateFlags::Children );
}
if ( bScrollChildren )