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
This commit is contained in:
parent
9f164e942d
commit
ce2e9796f1
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue