diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-01-31 22:56:20 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-01-31 22:56:42 +0100 |
commit | 4d83e7010870fb8d74b19c28f1c4cd3fa616f514 (patch) | |
tree | 2a05efd964b1c1b4a8abf5d15afae07652a3d9a5 /svtools/source | |
parent | 5f34f5a8596335d8509fde8fd7ef1ab0418ec3be (diff) |
Fix "Possible inefficient checking for 'rChunkData' emptiness"
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/filter/filter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/filter/filter.cxx b/svtools/source/filter/filter.cxx index bd95ab70ea06..ee1f3292b1fc 100644 --- a/svtools/source/filter/filter.cxx +++ b/svtools/source/filter/filter.cxx @@ -1961,7 +1961,7 @@ sal_uInt16 GraphicFilter::ExportGraphic( const Graphic& rGraphic, const String& if ( aAdditionalChunkSequence[ j ].Value >>= aByteSeq ) { std::vector< vcl::PNGWriter::ChunkData >& rChunkData = aPNGWriter.GetChunks(); - if ( rChunkData.size() ) + if ( !rChunkData.empty() ) { sal_uInt32 nChunkLen = aByteSeq.getLength(); |