diff options
-rw-r--r-- | vcl/source/window/paint.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx index 074f895e7a3e..ccd2029c7cce 100644 --- a/vcl/source/window/paint.cxx +++ b/vcl/source/window/paint.cxx @@ -1505,7 +1505,7 @@ void Window::ImplScroll( const Rectangle& rRect, vcl::Region aInvalidateRegion; bool bScrollChildren(nFlags & ScrollFlags::Children); - bool bErase(nFlags & ScrollFlags::NoErase); + bool bErase(!(nFlags & ScrollFlags::NoErase)); if ( !mpWindowImpl->mpFirstChild ) bScrollChildren = false; |