loplugin:cstylecast: deal with remaining pointer casts

Change-Id: I2c65b3bd52bc3d8c3dfb8d05c9dcc5d2a8484549
This commit is contained in:
Stephan Bergmann 2015-06-08 16:23:09 +02:00
parent b401a8d9f9
commit 84bf617f32

View file

@ -96,7 +96,7 @@ uno::Reference< graphic::XGraphic > SAL_CALL FrameGrabber::grabFrame( double fMe
CGImageDestinationFinalize( pCGImgDest );
CFRelease( pCGImgDest );
const long nBitmapLen = CFDataGetLength( pCFData );
void* pBitmapBytes = (void*)CFDataGetBytePtr( pCFData );
UInt8 * pBitmapBytes = const_cast<UInt8 *>(CFDataGetBytePtr( pCFData ));
// convert the image into the return-value type which is a graphic::XGraphic
SvMemoryStream aMemStm( pBitmapBytes, nBitmapLen, StreamMode::READ | StreamMode::WRITE );