diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2014-01-04 14:47:20 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-01-04 14:49:43 +0000 |
commit | 227fb8c9c3b22798b90aff9b17605428b7f9a897 (patch) | |
tree | 9554ac40f5da8b01224566dc4a793799265ed5f4 /vcl | |
parent | 710fa2954a67d4a5277cb16a3d9b513ca679cbd5 (diff) |
fdo#73280 - always advance the iterator to avoid an infinite loop.
Change-Id: I62f2d8ec5d6d62f1dbe9657cfbbbc90c56cce812
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/generic/glyphs/glyphcache.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/generic/glyphs/glyphcache.cxx b/vcl/generic/glyphs/glyphcache.cxx index 2cda76f442f3..5ac5510ffede 100644 --- a/vcl/generic/glyphs/glyphcache.cxx +++ b/vcl/generic/glyphs/glyphcache.cxx @@ -374,6 +374,8 @@ void ServerFont::GarbageCollect( long nMinLruIndex ) GlyphCache::GetInstance().RemovingGlyph( rGD ); it = maGlyphList.erase( it ); } + else + ++it; } } |