Kaydet (Commit) 330461ff authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

iterator end should be tested with != not <

üst 2ea4964b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment