Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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@googlemail.com>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.