diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-22 23:50:47 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-22 23:52:09 +0100 |
commit | 62bf434229f9f86469dea3123bc6180bd9979c2c (patch) | |
tree | 4b64aae8b8f2e99a146e4afc931639638d3f3639 /sc/source/ui/docshell | |
parent | c4b3af1e9f069d7d922974565ee66a30fd5744e4 (diff) |
reset automatic row height flag after import, fdo#59193
Change-Id: Ied9cb4a2b6a17d8c7b65f4fec3cb17219a5afa5b
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index a2073b968f3a..84b5364112f4 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -473,11 +473,14 @@ sal_Bool ScDocShell::LoadXML( SfxMedium* pLoadMedium, const ::com::sun::star::un // still need to recalc volatile formula cells. aDocument.CalcFormulaTree(false, true, false); + bool bAdjustHeightOld = aDocument.IsAdjustHeightEnabled(); aDocument.EnableAdjustHeight(false); aDocument.SetXMLFromWrapper( false ); AfterXMLLoading(bRet); + aDocument.EnableAdjustHeight(bAdjustHeightOld); + return bRet; } |