<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Inner border of an embedded table can't be dragged around"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=118716#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Inner border of an embedded table can't be dragged around"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=118716">bug 118716</a>
              from <span class="vcard"><a class="email" href="mailto:xiscofauli@libreoffice.org" title="Xisco FaulĂ­ <xiscofauli@libreoffice.org>"> <span class="fn">Xisco FaulĂ­</span></a>
</span></b>
        <pre>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...</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>