From 14a4390b8711f1c01d20b23f179a4c88db87e5b1 Mon Sep 17 00:00:00 2001
From: Stephan Bergmann <sbergman@redhat.com>
Date: Tue, 31 Mar 2015 13:12:10 +0200
Subject: Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: I88949a300ebff7c0c37ec147ca50f08695db7775
---
 basebmp/source/bitmapdevice.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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();
-- 
cgit