sc/source/ui/docshell/docsh.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit bb40a72b5c811189ef783246c94a8ad226f7f347 Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Tue Jan 22 23:50:47 2013 +0100 reset automatic row height flag after import, fdo#59193 Change-Id: Ied9cb4a2b6a17d8c7b65f4fec3cb17219a5afa5b Reviewed-on: https://gerrit.libreoffice.org/1831 Reviewed-by: Noel Power <noel.po...@suse.com> Tested-by: Noel Power <noel.po...@suse.com> diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 948f622..43fd526 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; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits