diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-12 10:06:27 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-13 08:09:28 +0000 |
commit | f12b17867ef8fa2cfc2ddb7ecda9d7acc57cfa59 (patch) | |
tree | 3b0a89e34cfca550b38b92423a1de4b805d2c91c /vcl/unx/generic/gdi/cairotextrender.cxx | |
parent | clang-tidy modernize-loop-convert in writerfilter to xmlsecurity (diff) | |
download | core-f12b17867ef8fa2cfc2ddb7ecda9d7acc57cfa59.tar.gz core-f12b17867ef8fa2cfc2ddb7ecda9d7acc57cfa59.zip |
clang-tidy modernize-loop-convert in vcl
Change-Id: I79e97a4826bfe3918de223cccf48646a1404f901
Reviewed-on: https://gerrit.libreoffice.org/24922
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/unx/generic/gdi/cairotextrender.cxx')
-rw-r--r-- | vcl/unx/generic/gdi/cairotextrender.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx b/vcl/unx/generic/gdi/cairotextrender.cxx index f8873d9f2aa4..62aeca15524d 100644 --- a/vcl/unx/generic/gdi/cairotextrender.cxx +++ b/vcl/unx/generic/gdi/cairotextrender.cxx @@ -46,8 +46,8 @@ CairoTextRender::CairoTextRender() : mnTextColor(MAKE_SALCOLOR(0x00, 0x00, 0x00)) //black { - for( int i = 0; i < MAX_FALLBACK; ++i ) - mpServerFont[i] = nullptr; + for(ServerFont* & rp : mpServerFont) + rp = nullptr; #if ENABLE_GRAPHITE // check if graphite fonts have been disabled |