loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I2c65b3bd52bc3d8c3dfb8d05c9dcc5d2a8484549
This commit is contained in:
parent
b401a8d9f9
commit
84bf617f32
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue