summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--canvas/source/directx/dx_surfacebitmap.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/canvas/source/directx/dx_surfacebitmap.cxx b/canvas/source/directx/dx_surfacebitmap.cxx
index 2e4548677bc5..17f0a7bf9ddd 100644
--- a/canvas/source/directx/dx_surfacebitmap.cxx
+++ b/canvas/source/directx/dx_surfacebitmap.cxx
@@ -46,9 +46,10 @@ namespace dxcanvas
{
public:
DXColorBuffer( const COMReference<surface_type>& rSurface,
- const ::basegfx::B2IVector& rSize ) :
- maSize(rSize),
- mpSurface(rSurface)
+ const ::basegfx::B2IVector& rSize )
+ : maSize(rSize)
+ , maLockedRect{}
+ , mpSurface(rSurface)
{
}
@@ -110,9 +111,10 @@ namespace dxcanvas
public:
GDIColorBuffer( const BitmapSharedPtr& rSurface,
- const ::basegfx::B2IVector& rSize ) :
- maSize(rSize),
- mpGDIPlusBitmap(rSurface)
+ const ::basegfx::B2IVector& rSize )
+ : maSize(rSize)
+ , aBmpData{}
+ , mpGDIPlusBitmap(rSurface)
{
}