Kaydet (Commit) ab4606f9 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Update all script types in the marked ranges up-front.

This is slightly faster than doing it on a as-needed basis.

Change-Id: I7618f003f3c98ee894c3f1cf597681e4281cc6ab
üst 8922f72d
......@@ -138,6 +138,8 @@ bool ScViewFunc::AdjustBlockHeight( bool bPaint, ScMarkData* pMarkData )
{
SCROW nStartNo = itRows->mnStart;
SCROW nEndNo = itRows->mnEnd;
ScAddress aTopLeft(0, nStartNo, nTab);
rDoc.UpdateScriptTypes(aTopLeft, MAXCOLCOUNT, nEndNo-nStartNo+1);
if (rDoc.SetOptimalHeight(aCxt, nStartNo, nEndNo, nTab))
{
if (!bChanged)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment