summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-08-11 23:21:58 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-08-11 23:23:19 +0200
commit5cbb76d6c4e4d8de7304e75ca922d92320954d5a (patch)
tree6c94ac376b84fd88b1d315b72454f2c90ae75d16 /sw
parent40283f019e15e7e2fe2082653344067dce037892 (diff)
Some cppcheck cleaning
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/html/htmltab.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx
index 1552660e1422..17b54983c842 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -2390,7 +2390,7 @@ void HTMLTable::CloseTable()
HTMLTableRow *pPrevRow = (*pRows)[nCurRow-1];
HTMLTableCell *pCell;
for( i=0; i<nCols; i++ )
- if( ( pCell=pPrevRow->GetCell(i), pCell->GetRowSpan() > 1 ) )
+ if( ( (pCell=(pPrevRow->GetCell(i))), (pCell->GetRowSpan()) > 1 ) )
{
FixRowSpan( nCurRow-1, i, pCell->GetContents() );
ProtectRowSpan( nCurRow, i, (*pRows)[nCurRow]->GetCell(i)->GetRowSpan() );