summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-02 11:28:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-02 11:28:51 +0200
commitc56a8863cde2ccd96dc6b75ad2c7d208c8190414 (patch)
tree2845284704ae482af3ba1f907bbe5239bba49c00 /vcl/headless
parent132e8ca43e4f28c2b4b9842ce2b977e0f25b0730 (diff)
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I1a9aa868d3724a7d14c181e45d956cdf2423e40c
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpbmp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/svpbmp.cxx b/vcl/headless/svpbmp.cxx
index 901526ea7fea..a63a5fe040e0 100644
--- a/vcl/headless/svpbmp.cxx
+++ b/vcl/headless/svpbmp.cxx
@@ -245,7 +245,7 @@ BitmapBuffer* SvpSalBitmap::AcquireBuffer( BitmapAccessMode )
pBuf->mnHeight = aSize.getY();
pBuf->mnScanlineSize = m_aBitmap->getScanlineStride();
pBuf->mnBitCount = nBitCount;
- pBuf->mpBits = (sal_uInt8*)m_aBitmap->getBuffer().get();
+ pBuf->mpBits = m_aBitmap->getBuffer().get();
if( nBitCount <= 8 )
{
if( m_aBitmap->getScanlineFormat() == FORMAT_EIGHT_BIT_GREY ||