summaryrefslogtreecommitdiff
path: root/sc/source/filter
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-03-07 13:46:30 +0100
committerEike Rathke <erack@redhat.com>2016-03-07 13:48:37 +0100
commit088ba465d6bb0931c7034d564a3077e21078cb13 (patch)
tree9a6c029c19fcaf62857b342281bba810804bf96b /sc/source/filter
parent9e60bbdb3aa5f80ca80c9c4fdf7accd12c4a5d1c (diff)
disable means Enable(false), not true.. tdf#98389 related
EnableAdjustHeight(true) lead to the side effect that when clearing the range of a pivot table during import, formulas in the same rows were recalculated with then empty data. Through xSheetOp->clearContents() in PivotTable::finalizeImport() of sc/source/filter/oox/pivottablebuffer.cxx In the case of the bugdoc attached to tdf#98389 that lead to all VLOOKUP() calls resulting in #N/A errors because an empty string was looked up. Change-Id: Ie629ce871d255cc871671165c4da974f21041cec
Diffstat (limited to 'sc/source/filter')
-rw-r--r--sc/source/filter/oox/workbookhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
index ec76d54822e9..c21e471c2751 100644
--- a/sc/source/filter/oox/workbookhelper.cxx
+++ b/sc/source/filter/oox/workbookhelper.cxx
@@ -604,7 +604,7 @@ void WorkbookGlobals::initialize( bool bWorkbookFile )
// #i76026# disable Undo while loading the document
mpDoc->EnableUndo(false);
// #i79826# disable calculating automatic row height while loading the document
- mpDoc->EnableAdjustHeight(true);
+ mpDoc->EnableAdjustHeight(false);
// disable automatic update of linked sheets and DDE links
mpDoc->EnableExecuteLink(false);