vcl/source/gdi/sallayout.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 330461ffa3871e125bce16e0c26f45b034289d8f Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Sun Mar 4 21:36:15 2012 -0600 iterator end should be tested with != not < diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx index 3ca646d..781cb03 100644 --- a/vcl/source/gdi/sallayout.cxx +++ b/vcl/source/gdi/sallayout.cxx @@ -863,7 +863,7 @@ bool GenericSalLayout::GetCharWidths( sal_Int32* pCharWidths ) const // rightmost cluster edge is the leftmost edge of next cluster // for clusters that do not have x-sorted glyphs // TODO: avoid recalculation of left bound in next cluster iteration - for( GlyphVector::const_iterator pN = pG; ++pN < end; ) + for( GlyphVector::const_iterator pN = pG; ++pN != end; ) { if( pN->IsClusterStart() ) break; _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits