diff options
Diffstat (limited to 'sw/source/filter/ww8/ww8par2.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx index 0adb29940afa..ff49237697da 100644 --- a/sw/source/filter/ww8/ww8par2.cxx +++ b/sw/source/filter/ww8/ww8par2.cxx @@ -2237,7 +2237,7 @@ void WW8TabDesc::CalcDefaults() pR->bLEmptyCol = pR->nCenter[0] - nMinLeft >= MINLAY; pR->bREmptyCol = (nMaxRight - pR->nCenter[pR->nWwCols] - nRightMaxThickness) >= MINLAY; - short nAddCols = pR->bLEmptyCol + pR->bREmptyCol; + short nAddCols = short(pR->bLEmptyCol) + short(pR->bREmptyCol); sal_uInt16 i; sal_uInt16 j = ( pR->bLEmptyCol ) ? 1 : 0; for (i = 0; i < pR->nWwCols; ++i) |