From 71eeb8aa5897349073d0a6235a034bec26465040 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Sat, 30 May 2015 17:12:26 +0900 Subject: ScrollFlags conversion "typo" - fixes scrolling repaint problems beer++; Change-Id: Id89f4206ad7a21d793ae633f53055eb38bba5285 --- vcl/source/window/paint.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') 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; -- cgit