diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-08-17 15:42:35 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-08-19 12:48:08 +0200 |
commit | 9528fb4a6adb2116a287653cfadc208e6c970fbc (patch) | |
tree | eacdfba61ccee731cc08f76fc7826c4de0b9afb1 /sc/source/filter/oox/pivotcachebuffer.cxx | |
parent | 5da0dce19caaf87a6fe53750a7e9ea5d564d6a12 (diff) |
tdf#77431: Move setting sheet visibility to finalize phase
and thus fix xlsx-specific issue that 1st sheet can't be hidden.
Also kill some UNO in the process.
I'm not sure if guarding against all sheets being hidden (by having
at least active sheet visible) is absolutely necessary, but better
be safe than sorry.
Change-Id: I4ad21d223b2effe427ab1d5411c035886f6cc71c
Diffstat (limited to 'sc/source/filter/oox/pivotcachebuffer.cxx')
-rw-r--r-- | sc/source/filter/oox/pivotcachebuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/pivotcachebuffer.cxx b/sc/source/filter/oox/pivotcachebuffer.cxx index e35eaaeb00f0..e7bad2d0a18b 100644 --- a/sc/source/filter/oox/pivotcachebuffer.cxx +++ b/sc/source/filter/oox/pivotcachebuffer.cxx @@ -1371,7 +1371,7 @@ void PivotCache::prepareSourceDataSheet() { maColSpans.insert( ValueRange( rRange.StartColumn, rRange.EndColumn ) ); OUString aSheetName = "DPCache_" + maSheetSrcModel.maSheet; - rRange.Sheet = getWorksheets().insertEmptySheet( aSheetName, false ); + rRange.Sheet = getWorksheets().insertEmptySheet( aSheetName ); mbValidSource = mbDummySheet = rRange.Sheet >= 0; } } |