[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - sc/source
scito (via logerrit)
logerrit at kemper.freedesktop.org
Mon Apr 26 00:31:28 UTC 2021
sc/source/core/data/document.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 06d5d625e1dc8489e51b962353ac423669e61fed
Author: scito <info at scito.ch>
AuthorDate: Fri Apr 23 11:07:46 2021 +0200
Commit: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Mon Apr 26 02:30:43 2021 +0200
tdf#95554 fix ScDocument::GetClipArea() for rows: use > instead of <
I did not write any tests, as the multi range copying to system clipboard
has another issue, see tdf#141847
Change-Id: I3af58d68370038274a07d753809fb4ceca9016f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114534
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
Tested-by: Jenkins
(cherry picked from commit 7c1e22152ed1a1837782a55fc9997f8e7801681b)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114510
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 820676d56cc6..b3cac25303af 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -3134,7 +3134,7 @@ void ScDocument::GetClipArea(SCCOL& nClipX, SCROW& nClipY, bool bIncludeFiltered
nStartRow = rRange2.aStart.Row();
if (rRange2.aEnd.Col() > nEndCol)
nEndCol = rRange2.aEnd.Col();
- if (rRange2.aEnd.Row() < nEndRow)
+ if (rRange2.aEnd.Row() > nEndRow)
nEndRow = rRange2.aEnd.Row();
}
More information about the Libreoffice-commits
mailing list