summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-27 09:05:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-27 09:06:52 +0100
commitc22fcb268cad9e0394f6af01f10a327f7e2ff5bd (patch)
tree691f9b1dc01d02f1cc4dfee07c0705d05dd9f713
parent35314e0a499602936df0062ae9e7ce074d39f801 (diff)
bah, const issue
Change-Id: If7fd95287ba1a28e7b5f5440776859b912d6ad6e (cherry picked from commit d781e874e018988d26b558ae1e4d6a1303b14cc1)
-rw-r--r--vcl/unx/generic/gdi/salgdi2.cxx2
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)