From bd276bf04ce9441f1546f8ce47a4c6e507ce1974 Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Sat, 20 Feb 2016 14:46:37 +0100 Subject: werror: declaration of 'nWidth' hides previous declaration Change-Id: Ida3b031f0425aae8d8372410311312b4d7a13d2f Reviewed-on: https://gerrit.libreoffice.org/22683 Reviewed-by: Stephan Bergmann Tested-by: Stephan Bergmann --- canvas/source/directx/dx_vcltools.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'canvas') diff --git a/canvas/source/directx/dx_vcltools.cxx b/canvas/source/directx/dx_vcltools.cxx index 3b032cfd06ca..fb11fcff8918 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; -- cgit