[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sdext/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sat Apr 21 13:03:55 PDT 2012
sdext/source/pdfimport/tree/pdfiprocessor.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fc0c85e8628bf90afd4a47c20b3d1bc2a9c01b36
Author: Korrawit Pruegsanusak <detective.conan.1412 at 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 <caolanm at 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,
More information about the Libreoffice-commits
mailing list