sc/source/core/data/table2.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit faee2796e3f3d98521b4b23b167b688171560254 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Mon Aug 16 18:05:12 2021 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Mon Aug 16 20:48:17 2021 +0200
tdf#143896: FILESAVE XLS(X) 1001+ rows are lost after saving new file Regression from: https://cgit.freedesktop.org/libreoffice/core/commit/?id=2bf3e0d00e3bccb5b250642ee0d3fdbe6cae8ecc tdf#104502 sc: skip hidden columns at printing pages Page calculation counted the hidden columns, resulted printing blank pages by accident. Extend GetPrintArea() and GetTableArea() to count pages without the hidden columns, too. Change-Id: I77e7d6d893967a3ddac4c7c4e225769b38b44649 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120552 Tested-by: Xisco Fauli <xiscofa...@libreoffice.org> Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index 2af1cad94471..2e06d9f85d8d 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -1525,6 +1525,7 @@ void ScTable::CopyUpdated( const ScTable* pPosTab, ScTable* pDestTab ) const void ScTable::InvalidateTableArea() { bTableAreaValid = false; + bTableAreaVisibleValid = false; } void ScTable::InvalidatePageBreaks()