From 9050cc641a7449e270a26bcaeae4f75d4b862d3f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 10 Feb 2017 11:32:34 +0000 Subject: pUnicodesPerGlyph[i] is already 1 here Change-Id: Ib47e850d8ade769cad11f53b7eb3d7cab0337feb --- vcl/source/gdi/pdfwriter_impl.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'vcl') diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 5c3aede359fb..9a096039487c 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -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 ) { -- cgit