pUnicodesPerGlyph[i] is already 1 here

Change-Id: Ib47e850d8ade769cad11f53b7eb3d7cab0337feb
This commit is contained in:
Caolán McNamara 2017-02-10 11:32:34 +00:00
parent 775bf0c7d9
commit 9050cc641a

View File

@ -8648,7 +8648,6 @@ void PDFWriterImpl::drawLayout( SalLayout& rLayout, const OUString& rText, bool
if (pGlyphs[i]->mnCharPos >= nMinCharPos && pGlyphs[i]->mnCharPos <= nMaxCharPos)
{
int nChars = 1;
pUnicodesPerGlyph[i] = 1;
// try to handle ligatures and such
if( i < nGlyphs-1 )
{