[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - sc/source
Andreas Heinisch (via logerrit)
logerrit at kemper.freedesktop.org
Thu Mar 11 23:23:52 UTC 2021
sc/source/core/data/table4.cxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 1982768ba3db819b84445830ae24e55ecd373d9a
Author: Andreas Heinisch <andreas.heinisch at yahoo.de>
AuthorDate: Sat Mar 6 10:38:43 2021 +0100
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Fri Mar 12 00:23:17 2021 +0100
tdf#89754 - don't increment non different consecutive date cells
Change-Id: I6fedc0fe286ebe8b0110360391e8d3325fc2ca25
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112054
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack at redhat.com>
(cherry picked from commit 3ba901f050d262cdeccefa5b21b0d32aa7332dc7)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112295
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index a777aca898ae..ede354eead8c 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -587,6 +587,13 @@ void ScTable::FillAnalyse( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
rInc = nCmpInc;
}
}
+ else
+ {
+ // tdf#89754 - don't increment non different consecutive date cells
+ rCmd = FILL_DATE;
+ rDateCmd = FILL_DAY;
+ rInc = 0.0;
+ }
}
else // single date -> increment by days
{
More information about the Libreoffice-commits
mailing list