summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-08-16 18:05:12 +0200
committerEike Rathke <erack@redhat.com>2021-08-18 00:50:14 +0200
commit376d9889bcd61dbfc0531b2168e2f04736d81d49 (patch)
tree40afb8cafebd35a98b0a4996e755c113d385d61a
parente36e366735449077a59cc29aa1a434ca3b5333db (diff)
tdf#143896: FILESAVE XLS(X) 1001+ rows are lost after saving new filelibreoffice-7-2-0
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/+/120449 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> (cherry picked from commit ab6c339faa15bf324f1161678717f02dbf8c19f6) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120450 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
-rw-r--r--sc/source/core/data/table2.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index af36f60f0d9e..69bfec7ed100 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()