summaryrefslogtreecommitdiffstats
path: root/sdext
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-12-27 17:12:57 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-12-27 17:13:21 +0100
commitc047ef2bf7b89fd4d6d0c8dfdfcfb4fe636735b2 (patch)
treea5cc3e1121c0edcd134fc44ae60e7aab10c228b5 /sdext
parentgb_Library_DLLEXT already contains the full-stop (diff)
downloadcore-c047ef2bf7b89fd4d6d0c8dfdfcfb4fe636735b2.tar.gz
core-c047ef2bf7b89fd4d6d0c8dfdfcfb4fe636735b2.zip
Fix Possible inefficient checking for 'm_GlyphsList' emptiness
Change-Id: I65c30e751fc01b63a54aa9c31b4b2a792b795a79
Diffstat (limited to 'sdext')
-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 378619ec3252..b166a3749784 100644
--- a/sdext/source/pdfimport/tree/pdfiprocessor.cxx
+++ b/sdext/source/pdfimport/tree/pdfiprocessor.cxx
@@ -210,7 +210,7 @@ sal_Int32 PDFIProcessor::getFontId( const FontAttributes& rAttr ) const
// line diagnose block - start
void PDFIProcessor::processGlyphLine()
{
- if( m_GlyphsList.size()<1 )
+ if( m_GlyphsList.empty() )
return;
double fPreAvarageSpaceValue= 0.0;