From 2c066ac3df6dd0a3457810a6650c5b2bc246f03f Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Sat, 4 Jan 2014 14:47:20 +0000 Subject: [PATCH] fdo#73280 - always advance the iterator to avoid an infinite loop. Change-Id: I62f2d8ec5d6d62f1dbe9657cfbbbc90c56cce812 --- vcl/generic/glyphs/glyphcache.cxx | 2 ++ 1 file changed, 2 insertions(+) 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; } }