svx/source/table/svdotable.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit e96856b791b74e941130b32c1b7f2f1587a349c6
Author: Tamás Zolnai <tamas.zol...@collabora.com>
Date:   Sun Aug 13 17:31:20 2017 +0200

    tdf#85909: EDITING: Native tables visualization not refreshed
    
    ... after changes to borders
    
    Regression from:
    26b06662ebc3e5d664400bc95c39d6220de03136
    "avoid repeated table layouting (fdo#75622)"
    
    It was a performance change, but it was a bad idea to avoid
    table layout refresh on this way
    
    Anyway I added a call for border update even if not all
    the table layouting is done. I tested with the test
    document attached to fdo#75622, import time seems similar
    so it does not cause perfromance issue to do that.
    
    Change-Id: I7c6fcf105c89233512390dc2ecbd111a32f6779a
    Reviewed-on: https://gerrit.libreoffice.org/41116
    Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com>
    Tested-by: Tamás Zolnai <tamas.zol...@collabora.com>
    (cherry picked from commit 3f72879a8e54e18f3ad587f7284b84db592c8d1a)
    Reviewed-on: https://gerrit.libreoffice.org/41119
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk>

diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx
index ef58d32b4a5b..25694d72fd7b 100644
--- a/svx/source/table/svdotable.cxx
+++ b/svx/source/table/svdotable.cxx
@@ -719,6 +719,7 @@ void SdrTableObjImpl::LayoutTable( tools::Rectangle& rArea, 
bool bFitWidth, bool
         else
         {
             rArea = lastLayoutResultRectangle;
+            mpLayouter->UpdateBorderLayout();
         }
     }
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to