[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - vcl/unx
Caolán McNamara
caolanm at redhat.com
Fri Jun 27 01:08:19 PDT 2014
vcl/unx/generic/gdi/salgdi2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c22fcb268cad9e0394f6af01f10a327f7e2ff5bd
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Jun 27 09:05:53 2014 +0100
bah, const issue
Change-Id: If7fd95287ba1a28e7b5f5440776859b912d6ad6e
(cherry picked from commit d781e874e018988d26b558ae1e4d6a1303b14cc1)
diff --git a/vcl/unx/generic/gdi/salgdi2.cxx b/vcl/unx/generic/gdi/salgdi2.cxx
index be722c5..4af97a5 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)
More information about the Libreoffice-commits
mailing list