summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKorrawit Pruegsanusak <detective.conan.1412@gmail.com>2012-04-21 10:06:19 +0700
committerCaolán McNamara <caolanm@redhat.com>2012-04-21 21:03:29 +0100
commitfc0c85e8628bf90afd4a47c20b3d1bc2a9c01b36 (patch)
tree9751113187386d24ffc372edf66a40f08c3052c9
parent580a7f24c373cd8cf068fc92fdb153025e6d0a1d (diff)
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 <caolanm@redhat.com>
-rw-r--r--sdext/source/pdfimport/tree/pdfiprocessor.cxx2
1 files changed, 1 insertions, 1 deletions
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,