sc/source/core/data/table1.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit c6b601603967b0ddc32755ee29049580696f1a3d Author: Eike Rathke <er...@redhat.com> Date: Fri Jul 6 11:20:27 2018 +0200 GetNextPos: init end cols/rows with current pos, tdf#68290 follow-up Using the added move value to obtain the print area could had placed them outside of the sheet already. Change-Id: I5fd97a7dd8ca92ab76cdfbb5c9a2b76ccc3f4c16 diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx index 8bfba4521de0..24e8d62a9b77 100644 --- a/sc/source/core/data/table1.cxx +++ b/sc/source/core/data/table1.cxx @@ -1406,8 +1406,8 @@ void ScTable::GetNextPos( SCCOL& rCol, SCROW& rRow, SCCOL nMovX, SCROW nMovY, { nStartCol = 0; nStartRow = 0; - nEndCol = nCol; - nEndRow = nRow; + nEndCol = rCol; + nEndRow = rRow; pDocument->GetPrintArea( nTab, nEndCol, nEndRow, true ); // Add some cols/rows to the print area (which is "content or // visually different from empty") to enable travelling through _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits