https://bugs.documentfoundation.org/show_bug.cgi?id=118716
--- Comment #7 from Xisco FaulĂ <xiscofa...@libreoffice.org> ---
Hi Noel,
This reversion fixes the issue:
--- a/sw/source/uibase/uiview/viewtab.cxx
+++ b/sw/source/uibase/uiview/viewtab.cxx
@@ -1699,9 +1699,8 @@ void SwView::StateTabWin(SfxItemSet& rSet)
const int nLft = aTabCols.GetLeftMin() + aTabCols.GetLeft();
const int nRgt = (bTableVertical ? nPageHeight : nPageWidth) -
(aTabCols.GetLeftMin() +
aTabCols.GetRight());
-
- const sal_uInt16 nL = std::max< sal_uInt16 >(nLft, 0);
- const sal_uInt16 nR = std::max< sal_uInt16 >(nRgt, 0);
+ const sal_uInt16 nL = static_cast< sal_uInt16 >(nLft > 0 ?
nLft : 0);
+ const sal_uInt16 nR = static_cast< sal_uInt16 >(nRgt > 0 ?
nRgt : 0);
SvxColumnItem aColItem(nNum, nL, nR);
However, your change seems correct...
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs