From 8819edb0214c79be86c89f64865d0cc6e8c79f15 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Wed, 21 Sep 2011 22:30:05 +0200 Subject: Some cppcheck cleaning --- sw/source/core/docnode/ndtbl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw') diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx index eceaaa9ebce0..40549196d325 100644 --- a/sw/source/core/docnode/ndtbl.cxx +++ b/sw/source/core/docnode/ndtbl.cxx @@ -1049,7 +1049,7 @@ SwTableNode* SwNodes::TextToTable( const SwNodeRange& rRange, sal_Unicode cCh, } } - if( aPosArr.size() ) + if( !aPosArr.empty() ) { SwTableLines& rLns = pTable->GetTabLines(); sal_uInt16 nLastPos = 0; @@ -1368,7 +1368,7 @@ SwTableNode* SwNodes::TextToTable( const SwNodes::TableRanges_t & rTableNodes, // die Tabelle ausgleichen, leere Sections einfuegen sal_uInt16 n; - if( aPosArr.size() ) + if( !aPosArr.empty() ) { SwTableLines& rLns = pTable->GetTabLines(); sal_uInt16 nLastPos = 0; -- cgit