diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-09-21 22:30:05 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-09-21 22:31:13 +0200 |
commit | 8819edb0214c79be86c89f64865d0cc6e8c79f15 (patch) | |
tree | 8f876f25e6bc79ff26c86317ebd888633345a185 /sw | |
parent | include dp_gui_theextmgr.hxx only once (diff) | |
download | core-8819edb0214c79be86c89f64865d0cc6e8c79f15.tar.gz core-8819edb0214c79be86c89f64865d0cc6e8c79f15.zip |
Some cppcheck cleaning
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/docnode/ndtbl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |