diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-03 16:31:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-16 18:42:57 +0100 |
commit | 270e41adb0c7a5f3e25e0ea25933de0d5c32ef9c (patch) | |
tree | d56df4efd8e9345cf7f213e6149b9a71a49da458 /vcl/source/fontsubset | |
parent | 26caf1bc59c81704f11225e3e431e412deb8c475 (diff) |
loplugin:buriedassign in sd..writerfilter
Change-Id: I954c12d9e1c493be6ac8c7b15076077b5bff5b74
Reviewed-on: https://gerrit.libreoffice.org/62811
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/fontsubset')
-rw-r--r-- | vcl/source/fontsubset/sft.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx index 11d9bedae11c..9262c2bca365 100644 --- a/vcl/source/fontsubset/sft.cxx +++ b/vcl/source/fontsubset/sft.cxx @@ -427,7 +427,8 @@ static int GetSimpleTTOutline(TrueTypeFont const *ttf, sal_uInt32 glyphID, Contr i = 0; while (i <= lastPoint) { - pa[i++].flags = static_cast<sal_uInt32>(flag = *p++); + flag = *p++; + pa[i++].flags = static_cast<sal_uInt32>(flag); if (flag & 8) { /*- repeat flag */ n = *p++; for (j=0; j<n; j++) { |