diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-02-15 17:33:06 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-02-15 17:33:06 -0500 |
commit | b3ee501254cea799a370bb8a02299e62488386d1 (patch) | |
tree | 3cdd59d2cbf1c5a1856479ee5a659e1694c04d35 /sc/source/ui/docshell/docfunc.cxx | |
parent | 5267252884a5cea1061b12453e7777a886e12af5 (diff) |
Remove this weird recalc level construct. Let's keep it simple.
Diffstat (limited to 'sc/source/ui/docshell/docfunc.cxx')
-rw-r--r-- | sc/source/ui/docshell/docfunc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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); |