summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-08 17:39:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-08 23:50:01 +0200
commited654adf92eab0cd21744fbfbfe54ff6d42bed87 (patch)
tree3b38b37eb993643054a53bac26dbe0619805acda /vcl/osx
parentffdd79eda08b7ce4492d33fa265d24c60b88d173 (diff)
loplugin:nullptr
Change-Id: I69e746d32b8a900fd9ee74ddc90b72cc6f9361db Reviewed-on: https://gerrit.libreoffice.org/80484 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/saldata.cxx2
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];