https://bugs.freedesktop.org/show_bug.cgi?id=46896

--- Comment #12 from Michael Meeks <[email protected]> 2012-03-13 
10:43:07 PDT ---
It strikes me that UniscribeLayout::Simplify's first block:

    // prepare for sparse layout
    // => make sure mpGlyphs2Chars[] exists

is a cut/paste job on the same code, that we should prolly unify into some
pleasantly named and reasonably comprehensible shared method ;-)

       mpGlyphs2Chars = new int[ mnGlyphCapacity ];
        for( int i = 0; i < mnGlyphCount; ++i )
            mpGlyphs2Chars[i] = -1;

The initialization of the larger-than-life array surely should go up to
mnGlyphCapacity in both cases (though this doesn't fix it either) ;-)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to