summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2017-08-13 17:31:20 +0200
committerAndras Timar <andras.timar@collabora.com>2017-08-21 09:00:36 +0200
commitf8440ce333c5055ddac3ae3dffb2a5b107c4ead1 (patch)
treef5dece41b21608dd2eda1f65b98b20293dc77bb4 /svx/source
parentbbb66d863416b48d452b3b2cb99c6f886bb41c99 (diff)
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.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 3f72879a8e54e18f3ad587f7284b84db592c8d1a) Reviewed-on: https://gerrit.libreoffice.org/41120 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> (cherry picked from commit 296a15773bec15c6aedec1a6be7b938fb60adc58)
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/table/svdotable.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx
index 99b9a4c9f941..1120dca3faa8 100644
--- a/svx/source/table/svdotable.cxx
+++ b/svx/source/table/svdotable.cxx
@@ -725,6 +725,7 @@ void SdrTableObjImpl::LayoutTable( Rectangle& rArea, bool bFitWidth, bool bFitHe
else
{
rArea = lastLayoutResultRectangle;
+ mpLayouter->UpdateBorderLayout();
}
}
}