Fix Possible inefficient checking for 'm_GlyphsList' emptiness

Change-Id: I65c30e751fc01b63a54aa9c31b4b2a792b795a79
This commit is contained in:
Julien Nabet
2012-12-27 17:12:57 +01:00
parent f172cd7f0a
commit c047ef2bf7

View File

@@ -210,7 +210,7 @@ sal_Int32 PDFIProcessor::getFontId( const FontAttributes& rAttr ) const
// line diagnose block - start // line diagnose block - start
void PDFIProcessor::processGlyphLine() void PDFIProcessor::processGlyphLine()
{ {
if( m_GlyphsList.size()<1 ) if( m_GlyphsList.empty() )
return; return;
double fPreAvarageSpaceValue= 0.0; double fPreAvarageSpaceValue= 0.0;