diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-22 23:50:47 +0100 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-01-24 15:21:50 +0000 |
commit | a6050279eb4e70cb82cfcae2e04b6fce07583149 (patch) | |
tree | 086ccf097ac28a13e8ede0b87b633d98bbf3b9d5 | |
parent | e2d6bdbee8c30df0bee1cb7e0389747cb6bc19ed (diff) |
reset automatic row height flag after import, fdo#59193
Change-Id: Ied9cb4a2b6a17d8c7b65f4fec3cb17219a5afa5b
Reviewed-on: https://gerrit.libreoffice.org/1832
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be>
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.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; } |