[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - vcl/generic

Michael Meeks michael.meeks at collabora.com
Sat Jan 4 06:50:32 PST 2014


 vcl/generic/glyphs/glyphcache.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 227fb8c9c3b22798b90aff9b17605428b7f9a897
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