sc/source/core/data/column3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a5e43258112c5836bd1291cde1dc80fb465bfafc Author: Kohei Yoshida <[email protected]> Date: Fri Mar 15 11:10:39 2013 -0400 Oops the erase() method takes start and end positions. The second parameter has to be the absolute end position, not the size from the start position. Change-Id: I310ec52697d0521a82810889f6fe861471279645 diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx index 62f0135..0ba6f01 100644 --- a/sc/source/core/data/column3.cxx +++ b/sc/source/core/data/column3.cxx @@ -262,7 +262,7 @@ void ScColumn::DeleteRow( SCROW nStartRow, SCSIZE nSize ) // There are cells below the deletion point. Shift their row positions. // Shift the text width array too (before the broadcast). - maTextWidths.erase(nStartRow, nSize); + maTextWidths.erase(nStartRow, nEndRow); maTextWidths.resize(MAXROW); ScAddress aAdr( nCol, 0, nTab ); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
