summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-03-04 21:36:15 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-03-04 21:36:15 -0600
commit330461ffa3871e125bce16e0c26f45b034289d8f (patch)
tree265b1dc1fb976b648006144a84ddfe88dcd279dc /vcl
parenthelp GlyphItems vector to be sized correctly up-front (diff)
downloadcore-330461ffa3871e125bce16e0c26f45b034289d8f.tar.gz
core-330461ffa3871e125bce16e0c26f45b034289d8f.zip
iterator end should be tested with != not <
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/sallayout.cxx2
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;