diff options
author | Tor Lillqvist <tml@collabora.com> | 2021-01-04 13:26:29 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2021-01-04 21:52:19 +0100 |
commit | 4f3b78e9e2e16ded92b7e3f28fc84a98b79de117 (patch) | |
tree | 5b686e795c5f6a6099b5a5032756b42f145dd2e2 | |
parent | 2b4e320cc8559487b30104f62b3aedbab9451704 (diff) |
Don't use m prefix for a local variable
Change-Id: I73e106923d463215078a465f9ff933ea3c89255f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108665
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r-- | vcl/quartz/salbmp.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx index 4603fe57bf45..ecd3c974b081 100644 --- a/vcl/quartz/salbmp.cxx +++ b/vcl/quartz/salbmp.cxx @@ -916,26 +916,26 @@ bool QuartzSalBitmap::GetSystemData( BitmapSystemData& rData ) CGImageRef xImage = CGBitmapContextCreateImage(maGraphicContext.get()); // re-create the context with single change: include kCGBitmapByteOrder32Host flag. - CGContextHolder maGraphicContextNew(CGBitmapContextCreate(CGBitmapContextGetData(maGraphicContext.get()), - CGBitmapContextGetWidth(maGraphicContext.get()), - CGBitmapContextGetHeight(maGraphicContext.get()), - CGBitmapContextGetBitsPerComponent(maGraphicContext.get()), - CGBitmapContextGetBytesPerRow(maGraphicContext.get()), - CGBitmapContextGetColorSpace(maGraphicContext.get()), - CGBitmapContextGetBitmapInfo(maGraphicContext.get()) | kCGBitmapByteOrder32Host)); + CGContextHolder aGraphicContextNew(CGBitmapContextCreate(CGBitmapContextGetData(maGraphicContext.get()), + CGBitmapContextGetWidth(maGraphicContext.get()), + CGBitmapContextGetHeight(maGraphicContext.get()), + CGBitmapContextGetBitsPerComponent(maGraphicContext.get()), + CGBitmapContextGetBytesPerRow(maGraphicContext.get()), + CGBitmapContextGetColorSpace(maGraphicContext.get()), + CGBitmapContextGetBitmapInfo(maGraphicContext.get()) | kCGBitmapByteOrder32Host)); CFRelease(maGraphicContext.get()); // Needs to be flipped - maGraphicContextNew.saveState(); - CGContextTranslateCTM (maGraphicContextNew.get(), 0, CGBitmapContextGetHeight(maGraphicContextNew.get())); - CGContextScaleCTM (maGraphicContextNew.get(), 1.0, -1.0); + aGraphicContextNew.saveState(); + CGContextTranslateCTM (aGraphicContextNew.get(), 0, CGBitmapContextGetHeight(aGraphicContextNew.get())); + CGContextScaleCTM (aGraphicContextNew.get(), 1.0, -1.0); - CGContextDrawImage(maGraphicContextNew.get(), CGRectMake( 0, 0, CGImageGetWidth(xImage), CGImageGetHeight(xImage)), xImage); + CGContextDrawImage(aGraphicContextNew.get(), CGRectMake( 0, 0, CGImageGetWidth(xImage), CGImageGetHeight(xImage)), xImage); // Flip back - CGContextRestoreGState( maGraphicContextNew.get() ); + CGContextRestoreGState( aGraphicContextNew.get() ); CGImageRelease( xImage ); - maGraphicContext = maGraphicContextNew; + maGraphicContext = aGraphicContextNew; } rData.mnWidth = mnWidth; |