[Libreoffice-commits] core.git: vcl/source

Tomaž Vajngerl tomaz.vajngerl at collabora.co.uk
Sat May 30 01:16:54 PDT 2015


 vcl/source/window/paint.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 71eeb8aa5897349073d0a6235a034bec26465040
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
Date:   Sat May 30 17:12:26 2015 +0900

    ScrollFlags conversion "typo" - fixes scrolling repaint problems
    
    beer++;
    
    Change-Id: Id89f4206ad7a21d793ae633f53055eb38bba5285

diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index 074f895..ccd2029 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;


More information about the Libreoffice-commits mailing list