Kaydet (Commit) ce2e9796 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

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
üst 9f164e94
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment