[Libreoffice-commits] core.git: Branch 'distro/lhm/libreoffice-5-2+backports' - sc/source
Vasily Melenchuk (via logerrit)
logerrit at kemper.freedesktop.org
Wed Apr 24 06:38:35 UTC 2019
sc/source/core/data/dociter.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit c69f23247ca9a915c7a8f9f94566c6d33e096387
Author: Vasily Melenchuk <vasily.melenchuk at cib.de>
AuthorDate: Wed Apr 24 09:00:03 2019 +0300
Commit: Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Wed Apr 24 08:37:47 2019 +0200
calc: reset stored row heights between iterations
Previously list of row heights was not reset between iterations
causing unwanted max heights to appear in next segments
and thus breaking row autoheight correct work on document load.
Change-Id: I471b4dbe8899eb1cd20b97a4f70957c4ee62948c
Reviewed-on: https://gerrit.libreoffice.org/71213
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index 82efdb08aba1..e747d1e4cdf9 100644
--- a/sc/source/core/data/dociter.cxx
+++ b/sc/source/core/data/dociter.cxx
@@ -2628,6 +2628,8 @@ void ScDocRowHeightUpdater::update()
if (!aData.mbValue)
continue;
+ aCxt.getHeightArray().clear();
+
mrDoc.maTabs[nTab]->SetOptimalHeight(
aCxt, aData.mnRow1, aData.mnRow2, &aProgress, nProgressStart);
More information about the Libreoffice-commits
mailing list