diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-26 09:15:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-28 08:44:42 +0100 |
commit | 85453425a8d95e9fa70cb9a084c830077e385ef0 (patch) | |
tree | b265e9c8d418aba34e773eb3864b419823e967df /canvas | |
parent | 6694e10a230d871a78f27b035d3a7a856cf622dd (diff) |
-Werror,-Wunused-private-field
Change-Id: Ie14d3b3474b7886add80bd6e223e76fbf964144e
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/directx/dx_surfacebitmap.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/canvas/source/directx/dx_surfacebitmap.cxx b/canvas/source/directx/dx_surfacebitmap.cxx index 13ce06f1cc67..6509a6837804 100644 --- a/canvas/source/directx/dx_surfacebitmap.cxx +++ b/canvas/source/directx/dx_surfacebitmap.cxx @@ -48,8 +48,7 @@ namespace dxcanvas DXColorBuffer( const COMReference<surface_type>& rSurface, const ::basegfx::B2IVector& rSize ) : maSize(rSize), - mpSurface(rSurface), - mbAlpha(false) + mpSurface(rSurface) { } @@ -68,7 +67,6 @@ namespace dxcanvas ::basegfx::B2IVector maSize; mutable D3DLOCKED_RECT maLockedRect; mutable COMReference<surface_type> mpSurface; - bool mbAlpha; }; sal_uInt8* DXColorBuffer::lock() const @@ -114,8 +112,7 @@ namespace dxcanvas GDIColorBuffer( const BitmapSharedPtr& rSurface, const ::basegfx::B2IVector& rSize ) : maSize(rSize), - mpGDIPlusBitmap(rSurface), - mbAlpha(true) + mpGDIPlusBitmap(rSurface) { } @@ -134,7 +131,6 @@ namespace dxcanvas ::basegfx::B2IVector maSize; mutable Gdiplus::BitmapData aBmpData; BitmapSharedPtr mpGDIPlusBitmap; - bool mbAlpha; }; sal_uInt8* GDIColorBuffer::lock() const |