sdext/source/pdfimport/tree/pdfiprocessor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit fc0c85e8628bf90afd4a47c20b3d1bc2a9c01b36 Author: Korrawit Pruegsanusak <detective.conan.1...@gmail.com> Date: Sat Apr 21 10:06:19 2012 +0700 Fix fdo#45848 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 <caol...@redhat.com> diff --git a/sdext/source/pdfimport/tree/pdfiprocessor.cxx b/sdext/source/pdfimport/tree/pdfiprocessor.cxx index 6d0e34e..a800643 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,
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits