cppcheck: Possible inefficient checking for emptiness
Change-Id: I2b353435b29046b05acbb1193fda168309e01f4b
This commit is contained in:
@@ -2712,7 +2712,7 @@ sal_Int32 PDFWriterImpl::emitStructure( PDFStructureElement& rEle )
|
||||
aLine.append( "\n" );
|
||||
}
|
||||
}
|
||||
if( ! rEle.m_aBBox.IsEmpty() || rEle.m_aAttributes.size() )
|
||||
if( (! rEle.m_aBBox.IsEmpty()) || (! rEle.m_aAttributes.empty()) )
|
||||
{
|
||||
OString aAttribs = emitStructureAttributes( rEle );
|
||||
if( !aAttribs.isEmpty() )
|
||||
|
Reference in New Issue
Block a user