diff options
author | Korrawit Pruegsanusak <detective.conan.1412@gmail.com> | 2012-04-21 10:06:19 +0700 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-04-23 12:03:32 +0200 |
commit | 5a39623867709b271db738ba259817eb5d6f1674 (patch) | |
tree | 744cd567aa037bd464ec9d56f1020996be78ef92 | |
parent | 70ba1b80ced76c40ad5d43101db9a1f60a00011c (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>
(cherry picked from commit fc0c85e8628bf90afd4a47c20b3d1bc2a9c01b36)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | sdext/source/pdfimport/tree/pdfiprocessor.cxx | 2 |
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, |