diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-18 11:54:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-19 07:57:49 +0200 |
commit | 265072a4cafd9f8552264448e2fc049ae3ac97e5 (patch) | |
tree | effa65b8c43bedee6493da446840f3114fd2d77f /vcl/source/fontsubset/ttcr.cxx | |
parent | a22d32644be3fede66558df997e4c75ed96b2fa8 (diff) |
loplugin:staticvar in vcl
Change-Id: I2bdab84dc81e0545aa96542caec213db61765f68
Reviewed-on: https://gerrit.libreoffice.org/61922
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/fontsubset/ttcr.cxx')
-rw-r--r-- | vcl/source/fontsubset/ttcr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/fontsubset/ttcr.cxx b/vcl/source/fontsubset/ttcr.cxx index 4dc5084e6128..06bbe376f3a4 100644 --- a/vcl/source/fontsubset/ttcr.cxx +++ b/vcl/source/fontsubset/ttcr.cxx @@ -479,7 +479,7 @@ static void TrueTypeTableDispose_post(TrueTypeTable *_this) static struct { sal_uInt32 tag; void (*f)(TrueTypeTable *); -} vtable1[] = +} const vtable1[] = { {0, TrueTypeTableDispose_generic}, {T_head, TrueTypeTableDispose_head}, @@ -800,7 +800,7 @@ static int GetRawData_post(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *le static struct { sal_uInt32 tag; int (*f)(TrueTypeTable *, sal_uInt8 **, sal_uInt32 *, sal_uInt32 *); -} vtable2[] = +} const vtable2[] = { {0, GetRawData_generic}, {T_head, GetRawData_head}, |