Kaydet (Commit) c047ef2b authored tarafından Julien Nabet's avatar Julien Nabet

Fix Possible inefficient checking for 'm_GlyphsList' emptiness

Change-Id: I65c30e751fc01b63a54aa9c31b4b2a792b795a79
üst f172cd7f
...@@ -210,7 +210,7 @@ sal_Int32 PDFIProcessor::getFontId( const FontAttributes& rAttr ) const ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment