diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-27 09:05:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-27 09:05:53 +0100 |
commit | d781e874e018988d26b558ae1e4d6a1303b14cc1 (patch) | |
tree | e73da5d25e3d43baaa7410871a2fb00b0774f1b7 | |
parent | 986c0451d05e7bb6ff7edd9f27d0e45532bcd22c (diff) |
bah, const issue
Change-Id: If7fd95287ba1a28e7b5f5440776859b912d6ad6e
-rw-r--r-- | vcl/unx/generic/gdi/salgdi2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/gdi/salgdi2.cxx b/vcl/unx/generic/gdi/salgdi2.cxx index be722c5429de..4af97a5dc49c 100644 --- a/vcl/unx/generic/gdi/salgdi2.cxx +++ b/vcl/unx/generic/gdi/salgdi2.cxx @@ -450,7 +450,7 @@ namespace //fdo#33455 and fdo#80160 handle 1 bit depth pngs with palette entries //to set fore/back colors SalBitmap& rBitmap = const_cast<SalBitmap&>(rSalBitmap); - if (const BitmapBuffer* pBitmapBuffer = rBitmap.AcquireBuffer(true)) + if (BitmapBuffer* pBitmapBuffer = rBitmap.AcquireBuffer(true)) { const BitmapPalette& rPalette = pBitmapBuffer->maPalette; if (rPalette.GetEntryCount() == 2) |