From ed654adf92eab0cd21744fbfbfe54ff6d42bed87 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 8 Oct 2019 17:39:33 +0200 Subject: loplugin:nullptr Change-Id: I69e746d32b8a900fd9ee74ddc90b72cc6f9361db Reviewed-on: https://gerrit.libreoffice.org/80484 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- vcl/osx/saldata.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/osx/saldata.cxx') diff --git a/vcl/osx/saldata.cxx b/vcl/osx/saldata.cxx index e0e974ff1f3d..8fda9e6f5fdf 100644 --- a/vcl/osx/saldata.cxx +++ b/vcl/osx/saldata.cxx @@ -256,7 +256,7 @@ NSCursor* SalData::getCursor( PointerStyle i_eStyle ) NSAffineTransform *xform = [[NSAffineTransform alloc] init]; [xform scaleBy:scale]; id hints = @{ NSImageHintCTM: xform }; - CGImageRef rasterCGImage = [theImage CGImageForProposedRect:NULL context:nil hints:hints]; + CGImageRef rasterCGImage = [theImage CGImageForProposedRect:nullptr context:nil hints:hints]; NSBitmapImageRep *rep = [[NSBitmapImageRep alloc] initWithCGImage:rasterCGImage]; [rep setSize:cursorSize]; [multiResImage addRepresentation:rep]; -- cgit