diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-03-04 21:36:15 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-03-04 21:36:15 -0600 |
commit | 330461ffa3871e125bce16e0c26f45b034289d8f (patch) | |
tree | 265b1dc1fb976b648006144a84ddfe88dcd279dc /vcl | |
parent | 2ea4964b2e81a25125eec7ce3eb0b06b3883edf0 (diff) |
iterator end should be tested with != not <
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/sallayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx index 3ca646d8efd9..781cb036b2ea 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; |