sc/source/core/data/column2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 92207231c3742873ad3b3a6fed2963d1bf924ad3 Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Sun Jun 9 23:33:38 2013 +0200 the last element is in the next block Change-Id: I3a4806fcae7b830e71cda0ab7e6d5ac6f180d4d3 diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx index fc53dab..5e490bd 100644 --- a/sc/source/core/data/column2.cxx +++ b/sc/source/core/data/column2.cxx @@ -1457,7 +1457,7 @@ void ScColumn::CopyCellTextAttrsToDocument(SCROW nRow1, SCROW nRow2, ScColumn& r itDataEnd = sc::custom_celltextattr_block::end(*itBlk->data); std::advance(itData, nOffsetInBlock); - if (nBlockStart <= nRowPos && nRowPos <= nBlockEnd) + if (nBlockStart <= nRowPos && nRowPos < nBlockEnd) { // This block contains the end row. Only copy partially. size_t nOffset = nRowPos - nBlockStart + 1; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits