From fc0c85e8628bf90afd4a47c20b3d1bc2a9c01b36 Mon Sep 17 00:00:00 2001 From: Korrawit Pruegsanusak Date: Sat, 21 Apr 2012 10:06:19 +0700 Subject: Fix fdo#45848 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit regression from 5dd4f9ecb2f50cf76b44472e4438297b6c65184c The change: - if(m_GlyphsList.size()>1) + if(!m_GlyphsList.empty()) is incorrect, so change it back. (cherry picked from commit bcb4defef7c9147a94ef19a51a18715449d3572d) Signed-off-by: Caolán McNamara --- sdext/source/pdfimport/tree/pdfiprocessor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdext/source/pdfimport/tree/pdfiprocessor.cxx b/sdext/source/pdfimport/tree/pdfiprocessor.cxx index 6d0e34e7da79..a800643d4f23 100644 --- a/sdext/source/pdfimport/tree/pdfiprocessor.cxx +++ b/sdext/source/pdfimport/tree/pdfiprocessor.cxx @@ -399,7 +399,7 @@ void PDFIProcessor::processGlyphLine() } - if(!m_GlyphsList.empty()) + if(m_GlyphsList.size()>1) processGlyph( 0, m_GlyphsList[m_GlyphsList.size()-1], pPara, -- cgit v1.2.3