diff options
-rw-r--r-- | vcl/osx/saldata.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |