diff options
-rw-r--r-- | sc/source/core/data/table2.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/docshell/docfunc.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/viewfunc.cxx | 3 |
3 files changed, 3 insertions, 10 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index 8b9ba0c03796..d403eace10da 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -2108,11 +2108,7 @@ void ScTable::SetRowHeight( SCROW nRow, USHORT nNewHeight ) sal_uInt16 nOldHeight = mpRowHeights->getValue(nRow); if ( nNewHeight != nOldHeight ) { - IncRecalcLevel(); - InitializeNoteCaptions(); mpRowHeights->setValue(nRow, nRow, nNewHeight); - DecRecalcLevel(); - InvalidatePageBreaks(); } } @@ -2162,8 +2158,6 @@ BOOL ScTable::SetRowHeightRange( SCROW nStartRow, SCROW nEndRow, USHORT nNewHeig BOOL bChanged = FALSE; if (VALIDROW(nStartRow) && VALIDROW(nEndRow) && mpRowHeights) { - IncRecalcLevel(); - InitializeNoteCaptions(); if (!nNewHeight) { DBG_ERROR("Zeilenhoehe 0 in SetRowHeight"); diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index 3e55e6195d3a..91c6cf74e869 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -3170,7 +3170,7 @@ BOOL ScDocFunc::SetWidthOrHeight( BOOL bWidth, SCCOLROW nRangeCnt, SCCOLROW* pRa BOOL bShow = nSizeTwips > 0 || eMode != SC_SIZE_DIRECT; BOOL bOutline = FALSE; - pDoc->IncSizeRecalcLevel( nTab ); // nicht fuer jede Spalte einzeln + pDoc->InitializeNoteCaptions(nTab); for (SCCOLROW nRangeNo=0; nRangeNo<nRangeCnt; nRangeNo++) { SCCOLROW nStartNo = *(pRanges++); @@ -3255,7 +3255,7 @@ BOOL ScDocFunc::SetWidthOrHeight( BOOL bWidth, SCCOLROW nRangeCnt, SCCOLROW* pRa static_cast<SCROW>(nEndNo), nTab, bShow ); } } - pDoc->DecSizeRecalcLevel( nTab ); // nicht fuer jede Spalte einzeln + pDoc->SetDrawPageSize(nTab); if (!bOutline) DELETEZ(pUndoTab); diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index dac8601c63e4..bc30a8e31eb3 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -2203,7 +2203,6 @@ void ScViewFunc::SetWidthOrHeight( BOOL bWidth, SCCOLROW nRangeCnt, SCCOLROW* pR { const SCCOLROW* pTabRanges = pRanges; - pDoc->IncSizeRecalcLevel( nTab ); // nicht fuer jede Spalte einzeln pDoc->InitializeNoteCaptions( nTab ); for (SCCOLROW nRangeNo=0; nRangeNo<nRangeCnt; nRangeNo++) { @@ -2301,7 +2300,7 @@ void ScViewFunc::SetWidthOrHeight( BOOL bWidth, SCCOLROW nRangeCnt, SCCOLROW* pR bOutline = TRUE; } } - pDoc->DecSizeRecalcLevel( nTab ); // nicht fuer jede Spalte einzeln + pDoc->SetDrawPageSize(nTab); } |