diff options
Diffstat (limited to 'basebmp/source/bitmapdevice.cxx')
-rw-r--r-- | basebmp/source/bitmapdevice.cxx | 2 |
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 |