summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2016-02-20 14:46:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-02-25 08:33:51 +0000
commitbd276bf04ce9441f1546f8ce47a4c6e507ce1974 (patch)
treeaf93edba7ef9c5b65d8eb591171b0411f9c0b6e9 /canvas
parent6851e977f71075c2f43b967a52dc1d035a75b0f2 (diff)
werror: declaration of 'nWidth' hides previous declaration
Change-Id: Ida3b031f0425aae8d8372410311312b4d7a13d2f Reviewed-on: https://gerrit.libreoffice.org/22683 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_vcltools.cxx2
1 files changed, 0 insertions, 2 deletions
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;