diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-03-05 04:08:28 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-03-05 04:08:28 -0600 |
commit | cecbf715396b5297a99d72e36526de5c24b927b4 (patch) | |
tree | 5df9a00bedc3ce7ba714659535e0500bfaec9c01 /vcl | |
parent | 78157d7634c0a75ceac4b614d3ca5b1763c6604a (diff) |
iterator are not ordered
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 781cb036b2ea..f7c2f1512535 100644 --- a/vcl/source/gdi/sallayout.cxx +++ b/vcl/source/gdi/sallayout.cxx @@ -841,7 +841,7 @@ bool GenericSalLayout::GetCharWidths( sal_Int32* pCharWidths ) const // calculate right x-position for this glyph cluster // break if no more glyphs in layout // break at next glyph cluster start - while( (pG+1 < end) && !pG[1].IsClusterStart() ) + while( (pG+1 != end) && !pG[1].IsClusterStart() ) { // advance to next glyph in cluster ++pG; |