summaryrefslogtreecommitdiff
path: root/vcl/win/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-11 08:03:57 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-11 08:03:57 +0100
commit94899de91c6adee0dab7218adbbd2d75c565a3ce (patch)
treef575a5e56b356040c1f80e0a3bcc4b26a686bada /vcl/win/source
parentb9c25fcc0d6aff0910348dcf3a53c16179f9ab56 (diff)
fix windows build
Change-Id: I0b6fd63f796598e56b2d8abe67df939240019217
Diffstat (limited to 'vcl/win/source')
-rw-r--r--vcl/win/source/gdi/gdiimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/gdiimpl.cxx b/vcl/win/source/gdi/gdiimpl.cxx
index 6e6361a230bc..6c133e6ef678 100644
--- a/vcl/win/source/gdi/gdiimpl.cxx
+++ b/vcl/win/source/gdi/gdiimpl.cxx
@@ -633,7 +633,7 @@ void ImplDrawBitmap( HDC hDC, const SalTwoRect& rPosAry, const WinSalBitmap& rSa
COLORREF nTextColor = RGB( 0x00, 0x00, 0x00 );
//fdo#33455 handle 1 bit depth pngs with palette entries
//to set fore/back colors
- if (const BitmapBuffer* pBitmapBuffer = const_cast<WinSalBitmap&>(rSalBitmap).AcquireBuffer(BITMAP_INFO_ACCESS))
+ if (BitmapBuffer* pBitmapBuffer = const_cast<WinSalBitmap&>(rSalBitmap).AcquireBuffer(BITMAP_INFO_ACCESS))
{
const BitmapPalette& rPalette = pBitmapBuffer->maPalette;
if (rPalette.GetEntryCount() == 2)