diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-03-23 14:36:22 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-03-23 15:37:21 +0100 |
commit | d99a715e6a99d4f99023d15185671e0282ba62fd (patch) | |
tree | a6faa61a25aa53428a236745f7ccf4d0c2e4a4ae | |
parent | 1024c172a5bfb3d85a86fcf7a046aa2b03950edd (diff) |
GenericSalLayout::KashidaJustify: STL assertion
error: attempt to compare a dereferenceable iterator to a singular iterator.
(regression from 6bb68cae7c31918eff8386d5b52be0759386bb60)
-rw-r--r-- | vcl/source/gdi/sallayout.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx index f7c2f1512535..6ae852725c64 100644 --- a/vcl/source/gdi/sallayout.cxx +++ b/vcl/source/gdi/sallayout.cxx @@ -1177,7 +1177,8 @@ void GenericSalLayout::KashidaJustify( long nKashidaIndex, int nKashidaWidth ) // calculate max number of needed kashidas int nKashidaCount = 0; - for( GlyphVector::iterator pG = m_GlyphItems.begin(), pGEnd = m_GlyphItems.end(); pG != pGEnd; ++pG ) + for (GlyphVector::iterator pG = m_GlyphItems.begin(); + pG != m_GlyphItems.end(); ++pG) { // only inject kashidas in RTL contexts if( !pG->IsRTLGlyph() ) |