summaryrefslogtreecommitdiff
path: root/basebmp
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:12:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:12:10 +0200
commit14a4390b8711f1c01d20b23f179a4c88db87e5b1 (patch)
tree1a1836a1e3eb2d479c28787766d69546926914f4 /basebmp
parent7e3139de9ca42ffc298b45026baeae77a18b4f0a (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I88949a300ebff7c0c37ec147ca50f08695db7775
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 0e2e004ddcb3..e9bdf9c921d6 100644
--- a/basebmp/source/bitmapdevice.cxx
+++ b/basebmp/source/bitmapdevice.cxx
@@ -1993,7 +1993,7 @@ BitmapDeviceSharedPtr createBitmapDeviceImplInner( const basegfx::B2IVector&
if( !pMem )
{
pMem.reset(
- reinterpret_cast<sal_uInt8*>(rtl_allocateMemory( nMemSize )),
+ static_cast<sal_uInt8*>(rtl_allocateMemory( nMemSize )),
&rtl_freeMemory );
if (pMem.get() == 0 && nMemSize != 0)
return BitmapDeviceSharedPtr();