Kaydet (Commit) 62bf4342 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

reset automatic row height flag after import, fdo#59193

Change-Id: Ied9cb4a2b6a17d8c7b65f4fec3cb17219a5afa5b
üst c4b3af1e
...@@ -473,11 +473,14 @@ sal_Bool ScDocShell::LoadXML( SfxMedium* pLoadMedium, const ::com::sun::star::un ...@@ -473,11 +473,14 @@ sal_Bool ScDocShell::LoadXML( SfxMedium* pLoadMedium, const ::com::sun::star::un
// still need to recalc volatile formula cells. // still need to recalc volatile formula cells.
aDocument.CalcFormulaTree(false, true, false); aDocument.CalcFormulaTree(false, true, false);
bool bAdjustHeightOld = aDocument.IsAdjustHeightEnabled();
aDocument.EnableAdjustHeight(false); aDocument.EnableAdjustHeight(false);
aDocument.SetXMLFromWrapper( false ); aDocument.SetXMLFromWrapper( false );
AfterXMLLoading(bRet); AfterXMLLoading(bRet);
aDocument.EnableAdjustHeight(bAdjustHeightOld);
return bRet; 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