summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_surfacebitmap.cxx8
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