diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-22 16:04:08 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-22 16:04:36 +0200 |
commit | c17ead7dc9c9dce23033fdda9c316f27a0225b17 (patch) | |
tree | 3f04f0c1f6d64c97bee08a4658080da93d908ee1 /sw/source/core/doc/tblrwcl.cxx | |
parent | 816afdb7c717c324fa4ea98df93b47b093e39d71 (diff) |
loplugin:commaoperator in sw/
Change-Id: I9b00755707687e4c10c02bf49866571f2c44d8ba
Diffstat (limited to 'sw/source/core/doc/tblrwcl.cxx')
-rw-r--r-- | sw/source/core/doc/tblrwcl.cxx | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx index eca9a38f8170..15ae0f2381ff 100644 --- a/sw/source/core/doc/tblrwcl.cxx +++ b/sw/source/core/doc/tblrwcl.cxx @@ -3150,7 +3150,10 @@ static bool lcl_DelSelBox( SwTableLine* pTabLine, CR_SetBoxWidth& rParam, ::lcl_DeleteBox_Recursive(rParam, *pBox, bCheck); if( !rParam.bLeft ) - --n, --nCntEnd; + { + --n; + --nCntEnd; + } } } else if( bChgLowers ) @@ -3204,7 +3207,10 @@ static bool lcl_DelSelBox( SwTableLine* pTabLine, CR_SetBoxWidth& rParam, { // Then change the loop variable when deleting to the right if( !rParam.bLeft ) - --n, --nCntEnd; + { + --n; + --nCntEnd; + } } else { @@ -4216,9 +4222,15 @@ bool SwTable::SetRowHeight( SwTableBox& rAktBox, sal_uInt16 eType, SwTableLines::size_type nStt; SwTableLines::size_type nEnd; if( bTop ) - nStt = 0, nEnd = nBaseLinePos; + { + nStt = 0; + nEnd = nBaseLinePos; + } else - nStt = nBaseLinePos + 1, nEnd = pLines->size(); + { + nStt = nBaseLinePos + 1; + nEnd = pLines->size(); + } // Get the current Lines' height if( TBLFIX_CHGPROP == m_eTableChgMode ) |