diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-11 21:51:45 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-13 10:10:35 +0200 |
commit | ce2e9796f1749554c61ead6c9e1709270955eba5 (patch) | |
tree | fb2885dc3ed2f921df0651a48f812a4286c808f4 /sw | |
parent | 9f164e942d0e58cf0c9fe512e6496b307060f38d (diff) |
warning C4365: '=' : conversion from 'int' to 'sal_uInt16', signed/unsigned mismatch
nhAbsLeftSpace and nInhAbsRightSpace are sal_uInt16, no need to cast them...
Change-Id: I9cb4b683d0096f6cd0968f4ed510983dc105038c
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/htmltbl.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/htmltbl.hxx b/sw/inc/htmltbl.hxx index 0d6dd9ee9e78..2df8af397dbf 100644 --- a/sw/inc/htmltbl.hxx +++ b/sw/inc/htmltbl.hxx @@ -405,9 +405,9 @@ inline sal_uInt16 SwHTMLTableLayout::GetInhCellSpace( sal_uInt16 nCol, { sal_uInt16 nSpace = 0; if( nCol==0 ) - nSpace = nSpace + sal::static_int_cast< sal_uInt16 >(nInhAbsLeftSpace); + nSpace = nSpace + nInhAbsLeftSpace; if( nCol+nColSpan==nCols ) - nSpace = nSpace + sal::static_int_cast< sal_uInt16 >(nInhAbsRightSpace); + nSpace = nSpace + nInhAbsRightSpace; return nSpace; } |