1. mst
  2. ooo340

Commits

Jens-Heiner Rechtien  committed 17d81f9 Merge

CWS-TOOLING: integrate CWS calc60

  • Participants
  • Parent commits d265d41, 67a4172
  • Branches default

Comments (0)

Files changed (1)

File sc/source/core/data/table2.cxx

View file
 		{
 			if (pDrawLayer)
 			{
-                unsigned long nOldHeights = GetRowHeight(nStartRow, nEndRow);
+                // #i115025# When comparing to nNewHeight for the whole range, the height
+                // including hidden rows has to be used (same behavior as 3.2).
+                unsigned long nOldHeights = mpRowHeights->getSumValue(nStartRow, nEndRow);
                 // FIXME: should we test for overflows?
 				long nHeightDif = (long) (unsigned long) nNewHeight *
                     (nEndRow - nStartRow + 1) - nOldHeights;