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

cppcheck: Possible inefficient checking for emptiness

Change-Id: I2b353435b29046b05acbb1193fda168309e01f4b
üst 6a3440de
...@@ -2712,7 +2712,7 @@ sal_Int32 PDFWriterImpl::emitStructure( PDFStructureElement& rEle ) ...@@ -2712,7 +2712,7 @@ sal_Int32 PDFWriterImpl::emitStructure( PDFStructureElement& rEle )
aLine.append( "\n" ); 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 ); OString aAttribs = emitStructureAttributes( rEle );
if( !aAttribs.isEmpty() ) if( !aAttribs.isEmpty() )
......
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