[Libreoffice-commits] core.git: vcl/generic
Michael Meeks
michael.meeks at collabora.com
Sat Jan 4 06:49:33 PST 2014
vcl/generic/glyphs/glyphcache.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 2c066ac3df6dd0a3457810a6650c5b2bc246f03f
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Sat Jan 4 14:47:20 2014 +0000
fdo#73280 - always advance the iterator to avoid an infinite loop.
Change-Id: I62f2d8ec5d6d62f1dbe9657cfbbbc90c56cce812
diff --git a/vcl/generic/glyphs/glyphcache.cxx b/vcl/generic/glyphs/glyphcache.cxx
index 2cda76f..5ac5510 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;
}
}
More information about the Libreoffice-commits
mailing list