summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-02 15:56:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-03 09:02:21 +0200
commit301133e0a8c0ef761c3067b4d76fd9af114f4a6a (patch)
tree046200b8eba7a27fee8528f2427adfed632a6596 /vcl/headless
parent4c4a1caf0d4d223ff8479197160d121012c1c1ac (diff)
loplugin:singlevalfields
Change-Id: I69c5b28636806e45d7ba5d8c4678caeda09caa50 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91607 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpgdi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 4f80ae366bfd..445afef65400 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -349,7 +349,7 @@ namespace
bool isTrivial() const
{
- static unsigned long nMinimalSquareSizeToBuffer(64*64);
+ constexpr unsigned long nMinimalSquareSizeToBuffer(64*64);
const unsigned long nSourceWidth(cairo_image_surface_get_width(pSurface));
const unsigned long nSourceHeight(cairo_image_surface_get_height(pSurface));