diff options
Diffstat (limited to 'basebmp')
-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 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(); |