summaryrefslogtreecommitdiffstats
path: root/svtools
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-01-31 22:56:20 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-01-31 22:56:42 +0100
commit4d83e7010870fb8d74b19c28f1c4cd3fa616f514 (patch)
tree2a05efd964b1c1b4a8abf5d15afae07652a3d9a5 /svtools
parentORowSetCache: keep m_nEndPos better up-to-date (diff)
downloadcore-4d83e7010870fb8d74b19c28f1c4cd3fa616f514.tar.gz
core-4d83e7010870fb8d74b19c28f1c4cd3fa616f514.zip
Fix "Possible inefficient checking for 'rChunkData' emptiness"
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/filter/filter.cxx2
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();