office-gobmx/graphite/graphite-2.3.1_debug.patch
Petr Mladek 31e0d0c56f Revert "Fix graphite2 particulary for LinLibertineG"
caused many build problems on Windows; too late to do this change

This reverts commit 1dbaab9692545a9c8c032a886932a7626e48dbe9.
2011-05-16 20:05:14 +02:00

13 lines
732 B
Diff

--- misc/silgraphite-2.3.1/engine/src/segment/SegmentAux.cpp 2008-08-21 16:24:32.000000000 +0200
+++ misc/build/silgraphite-2.3.1/engine/src/segment/SegmentAux.cpp 2011-02-21 13:22:23.159834368 +0100
@@ -247,7 +247,9 @@
GlyphSetIterator::reference GlyphSetIterator::operator*() const
{
assert(m_pseg != 0);
- assert(m_vit != std::vector<int>::const_iterator());
+ // #i116227# the check below is well meant but breaks itself when using stlport with debug facilities
+ // a valid iterator cannot be compared to an empty one in that case
+ // assert(m_vit != std::vector<int>::const_iterator());
// in the case of a non-contiguous list
return m_pseg->m_prgginf[(*m_vit) - m_pseg->m_isloutGinf0];
}