[PATCH] Change in core[libreoffice-4-0]: reset automatic row height flag after import, fdo#59193

Markus Mohrhard (via Code Review) gerrit at gerrit.libreoffice.org
Wed Jan 23 12:20:15 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1831

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/31/1831/1

reset automatic row height flag after import, fdo#59193

Change-Id: Ied9cb4a2b6a17d8c7b65f4fec3cb17219a5afa5b
---
M sc/source/ui/docshell/docsh.cxx
1 file changed, 3 insertions(+), 0 deletions(-)



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 @@
         // 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;
 }
 

-- 
To view, visit https://gerrit.libreoffice.org/1831
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ied9cb4a2b6a17d8c7b65f4fec3cb17219a5afa5b
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Markus Mohrhard <markus.mohrhard at googlemail.com>



More information about the LibreOffice mailing list