summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-30 17:12:26 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-30 17:15:49 +0900
commit71eeb8aa5897349073d0a6235a034bec26465040 (patch)
tree07236d578314e38e956800e52cf73e7be8cd66fb /vcl
parent6a626955eb8b803fa58a58baafaa2a06ab4761f2 (diff)
ScrollFlags conversion "typo" - fixes scrolling repaint problems
beer++; Change-Id: Id89f4206ad7a21d793ae633f53055eb38bba5285
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/paint.cxx2
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;