sc/source/core/data/dociter.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit c69f23247ca9a915c7a8f9f94566c6d33e096387 Author: Vasily Melenchuk <[email protected]> AuthorDate: Wed Apr 24 09:00:03 2019 +0300 Commit: Thorsten Behrens <[email protected]> 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 <[email protected]> Tested-by: Thorsten Behrens <[email protected]> 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); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
