diff options
Diffstat (limited to 'avmedia/source/macavf/framegrabber.mm')
-rw-r--r-- | avmedia/source/macavf/framegrabber.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/avmedia/source/macavf/framegrabber.mm b/avmedia/source/macavf/framegrabber.mm index 7803fa4f1063..e0b8bad61171 100644 --- a/avmedia/source/macavf/framegrabber.mm +++ b/avmedia/source/macavf/framegrabber.mm @@ -67,7 +67,9 @@ uno::Reference< graphic::XGraphic > SAL_CALL FrameGrabber::grabFrame( double fMe // convert the image to a TIFF-formatted byte-array CFMutableDataRef pCFData = CFDataCreateMutable( kCFAllocatorDefault, 0 ); + SAL_WNODEPRECATED_DECLARATIONS_PUSH // kUTTypeTIFF (12.0) CGImageDestination* pCGImgDest = CGImageDestinationCreateWithData( pCFData, kUTTypeTIFF, 1, nullptr ); + SAL_WNODEPRECATED_DECLARATIONS_POP CGImageDestinationAddImage( pCGImgDest, pCGImage, nullptr ); CGImageDestinationFinalize( pCGImgDest ); CFRelease( pCGImgDest ); |