/[packages]/updates/5/libreoffice/current/SOURCES/0001-disable-means-Enable-false-not-true.-tdf-98389-relat.patch
ViewVC logotype

Contents of /updates/5/libreoffice/current/SOURCES/0001-disable-means-Enable-false-not-true.-tdf-98389-relat.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1016858 - (show annotations) (download)
Thu May 19 06:12:15 2016 UTC (7 years, 11 months ago) by tv
File size: 1493 byte(s)
- Resolves: rhbz#1318333 can't open xlsx document
- remove unintentional dependency of libreoffice-core on libreoffice-calc
- Resolves: rhbz#1309207 CVE-2016-0794 and CVE-2016-0795
1 From 088ba465d6bb0931c7034d564a3077e21078cb13 Mon Sep 17 00:00:00 2001
2 From: Eike Rathke <erack@redhat.com>
3 Date: Mon, 7 Mar 2016 13:46:30 +0100
4 Subject: [PATCH] disable means Enable(false), not true.. tdf#98389 related
5
6 EnableAdjustHeight(true) lead to the side effect that when clearing the
7 range of a pivot table during import, formulas in the same rows were
8 recalculated with then empty data. Through xSheetOp->clearContents() in
9 PivotTable::finalizeImport() of
10 sc/source/filter/oox/pivottablebuffer.cxx
11
12 In the case of the bugdoc attached to tdf#98389 that lead to all
13 VLOOKUP() calls resulting in #N/A errors because an empty string was
14 looked up.
15
16 Change-Id: Ie629ce871d255cc871671165c4da974f21041cec
17 ---
18 sc/source/filter/oox/workbookhelper.cxx | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21 diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
22 index ec76d54..c21e471 100644
23 --- a/sc/source/filter/oox/workbookhelper.cxx
24 +++ b/sc/source/filter/oox/workbookhelper.cxx
25 @@ -604,7 +604,7 @@ void WorkbookGlobals::initialize( bool bWorkbookFile )
26 // #i76026# disable Undo while loading the document
27 mpDoc->EnableUndo(false);
28 // #i79826# disable calculating automatic row height while loading the document
29 - mpDoc->EnableAdjustHeight(true);
30 + mpDoc->EnableAdjustHeight(false);
31 // disable automatic update of linked sheets and DDE links
32 mpDoc->EnableExecuteLink(false);
33
34 --
35 2.5.0
36

  ViewVC Help
Powered by ViewVC 1.1.30