diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-08-13 15:12:01 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-08-13 15:12:35 +0200 |
commit | 66fd1442696059cc6de07ec96af77082654a0990 (patch) | |
tree | 5368bc4dc5c39ff03dd9222bafd57442df0ff63e /oox | |
parent | fee11cbc619576ae69b03e62622a38bef8799502 (diff) |
Some cppcheck cleaning
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ole/axcontrol.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/ole/axcontrol.cxx b/oox/source/ole/axcontrol.cxx index 95a791d86b11..0eef022eaef7 100644 --- a/oox/source/ole/axcontrol.cxx +++ b/oox/source/ole/axcontrol.cxx @@ -1801,14 +1801,14 @@ HtmlSelectModel::importBinaryModel( BinaryInputStream& rInStrm ) } } } - if ( listValues.size() ) + if ( !listValues.empty() ) { msListData.realloc( listValues.size() ); sal_Int32 index = 0; for( std::vector< rtl::OUString >::iterator it = listValues.begin(); it != listValues.end(); ++it, ++index ) msListData[ index ] = *it; } - if ( selectedIndices.size() ) + if ( !selectedIndices.empty() ) { msIndices.realloc( selectedIndices.size() ); sal_Int32 index = 0; |