From 66fd1442696059cc6de07ec96af77082654a0990 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 13 Aug 2011 15:12:01 +0200 Subject: Some cppcheck cleaning --- oox/source/ole/axcontrol.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'oox') 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; -- cgit