diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2024-10-22 15:39:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-10-22 19:31:28 +0200 |
commit | 686b968ec3565c004d2d3e47dcf1370158b3dd90 (patch) | |
tree | 28daa385d02234c9b9b2679d5f39add9fc96d23a /vcl/inc/salgdi.hxx | |
parent | ee4554b0ac88f673ac9998e317fb02dc5342de80 (diff) |
pass by reference for ShouldDownscaleIconsAtSurface
because the param is never null
Change-Id: I58660a9e4e6c25def2a70099bffce322b477b702
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175415
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/salgdi.hxx')
-rw-r--r-- | vcl/inc/salgdi.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx index 6fd58da78172..5a8a932ca559 100644 --- a/vcl/inc/salgdi.hxx +++ b/vcl/inc/salgdi.hxx @@ -399,7 +399,7 @@ public: // surface is hidpi then pScaleOut contains the scaling factor. So we can // create larger hires bitmaps which we know will be logically scaled down // by this factor but physically just copied - virtual bool ShouldDownscaleIconsAtSurface(double* pScaleOut) const; + virtual bool ShouldDownscaleIconsAtSurface(double& rScaleOut) const; #if ENABLE_CAIRO_CANVAS |