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:48:47 +0000 |
commit | 2c066ac3df6dd0a3457810a6650c5b2bc246f03f (patch) | |
tree | a4983e6cecc9024e9c494e4080404a436e978844 /vcl/generic/glyphs | |
parent | fb30c9ed78e12493de9b50eac85db7ff490a8670 (diff) |
fdo#73280 - always advance the iterator to avoid an infinite loop.
Change-Id: I62f2d8ec5d6d62f1dbe9657cfbbbc90c56cce812
Diffstat (limited to 'vcl/generic/glyphs')
-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; } } |