summaryrefslogtreecommitdiff
path: root/sw/source/core/docnode
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-09-21 22:30:05 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-09-21 22:31:13 +0200
commit8819edb0214c79be86c89f64865d0cc6e8c79f15 (patch)
tree8f876f25e6bc79ff26c86317ebd888633345a185 /sw/source/core/docnode
parentbf65a6ebc6dd319ae0fb24ba89e750490e18fdd8 (diff)
Some cppcheck cleaning
Diffstat (limited to 'sw/source/core/docnode')
-rw-r--r--sw/source/core/docnode/ndtbl.cxx4
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;