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

David Ostrovsky david at ostrovsky.org
Thu Feb 25 12:13:51 UTC 2016


 canvas/source/directx/dx_spritecanvashelper.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fbe9f840d541eab1a47a457c00fef00441f52364
Author: David Ostrovsky <david at ostrovsky.org>
Date:   Sat Feb 20 18:44:37 2016 +0100

    werror: declaration hides previous declaration
    
    Change-Id: Ia0fe8847f2a58fbccb25ecc6237f3b14a08da076
    Reviewed-on: https://gerrit.libreoffice.org/22688
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/canvas/source/directx/dx_spritecanvashelper.cxx b/canvas/source/directx/dx_spritecanvashelper.cxx
index ff2be01..66ea028 100644
--- a/canvas/source/directx/dx_spritecanvashelper.cxx
+++ b/canvas/source/directx/dx_spritecanvashelper.cxx
@@ -269,8 +269,8 @@ namespace dxcanvas
         ::basegfx::computeSetDifference( aUncoveredAreas,
                                          rUpdateArea.maTotalBounds,
                                          ::basegfx::B2DRange( rDestRect ) );
-        for( const auto& rUpdateArea : aUncoveredAreas )
-            repaintBackground( rUpdateArea, maScrapRect, mpBackBuffer );
+        for( const auto& rUncoveredArea : aUncoveredAreas )
+            repaintBackground( rUncoveredArea, maScrapRect, mpBackBuffer );
 
         // TODO(E1): Use numeric_cast to catch overflow here
         ::basegfx::B2IRange aActualArea( 0, 0,


More information about the Libreoffice-commits mailing list