diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-22 23:50:47 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-01-24 10:03:09 +0000 |
commit | bb40a72b5c811189ef783246c94a8ad226f7f347 (patch) | |
tree | edb631816e29b824df6a88a787e07ddc5e0a26b6 | |
parent | f5dc652c6d3157d41d20dc1baf3cfc92907dc6b0 (diff) |
reset automatic row height flag after import, fdo#59193
Change-Id: Ied9cb4a2b6a17d8c7b65f4fec3cb17219a5afa5b
Reviewed-on: https://gerrit.libreoffice.org/1831
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
-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 948f622face1..43fd526a25af 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -469,11 +469,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; } |