vcl/source/gdi/sallayout.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit cecbf715396b5297a99d72e36526de5c24b927b4 Author: Norbert Thiebaud <[email protected]> Date: Mon Mar 5 04:08:28 2012 -0600 iterator are not ordered diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx index 781cb03..f7c2f15 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; _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
