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

David Ostrovsky david at ostrovsky.org
Thu Feb 25 08:34:18 UTC 2016


 canvas/source/directx/dx_vcltools.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit bd276bf04ce9441f1546f8ce47a4c6e507ce1974
Author: David Ostrovsky <david at ostrovsky.org>
Date:   Sat Feb 20 14:46:37 2016 +0100

    werror: declaration of 'nWidth' hides previous declaration
    
    Change-Id: Ida3b031f0425aae8d8372410311312b4d7a13d2f
    Reviewed-on: https://gerrit.libreoffice.org/22683
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
    Tested-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/canvas/source/directx/dx_vcltools.cxx b/canvas/source/directx/dx_vcltools.cxx
index 3b032cf..fb11fcf 100644
--- a/canvas/source/directx/dx_vcltools.cxx
+++ b/canvas/source/directx/dx_vcltools.cxx
@@ -201,8 +201,6 @@ namespace dxcanvas
                                       "Unsupported alpha scanline format" );
 
                     BitmapColor     aCol;
-                    const sal_Int32 nWidth( aBmpSize.Width() );
-                    const sal_Int32 nHeight( aBmpSize.Height() );
                     sal_uInt8*      pCurrOutput( aBmpData.mpBitmapData.get() );
                     int             x, y;
 


More information about the Libreoffice-commits mailing list