Kaydet (Commit) a96998cd authored tarafından Daniel Bankston's avatar Daniel Bankston Kaydeden (comit) Kohei Yoshida

Disable adjust height flag once for whole doc instead for each tab

Change-Id: Ib82a72d257772b3dcdf9368c4ee5850a6f411d6e
üst bed0447c
......@@ -2809,8 +2809,6 @@ throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::R
uno::Reference<document::XActionLockable> xActionLockable(xDoc, uno::UNO_QUERY);
if (xActionLockable.is())
xActionLockable->addActionLock();
pDoc->EnableAdjustHeight(false);
}
// XServiceInfo
......
......@@ -443,9 +443,10 @@ sal_Bool ScDocShell::LoadXML( SfxMedium* pLoadMedium, const ::com::sun::star::un
else //still need to recalc volatile formula cells
DoRecalc(false);
aDocument.EnableAdjustHeight(false);
aDocument.SetXMLFromWrapper( false );
AfterXMLLoading(bRet);
//! row heights...
return bRet;
}
......
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