summaryrefslogtreecommitdiff
path: root/basebmp
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-17 18:06:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:45 +0100
commit931ec049e0a0cc89cf13412032fbcf5dbd1e49f4 (patch)
treebaf5fe92a19d6da80327a6c177fe697608cb7738 /basebmp
parent231f2b878e99ae91df93aa42f4604d47bccd2f10 (diff)
Some more loplugin:cstylecast: basebmp
Change-Id: I7e1e37110b9bd53a5eae543c854cc2c434a6b678
Diffstat (limited to 'basebmp')
-rw-r--r--basebmp/source/bitmapdevice.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx
index d79afd5166b2..12def64d0eb5 100644
--- a/basebmp/source/bitmapdevice.cxx
+++ b/basebmp/source/bitmapdevice.cxx
@@ -746,7 +746,7 @@ namespace
sal_Int32 nDestY = rDstRect.getMinY();
char* dstBuf = (char*)getBuffer().get();
- char* srcBuf = (char*)rSrcBitmap->getBuffer().get();
+ char* srcBuf = reinterpret_cast<char*>(rSrcBitmap->getBuffer().get());
sal_Int32 dstStride = getScanlineStride();
sal_Int32 srcStride = rSrcBitmap->getScanlineStride();
sal_Int32 bytesPerPixel = (bitsPerPixel[getScanlineFormat()] + 7) >> 3; // round up to bytes