diff options
author | Eike Rathke <erack@redhat.com> | 2011-11-28 12:41:50 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2011-11-28 15:25:34 +0100 |
commit | 42e80ec68bc1f4d2dfd62b82116790687321d231 (patch) | |
tree | cf626212f7c1d11a10e5dc667c99b947cdc72f24 /oox | |
parent | dr80: #i164410# optimized cell allocation in XCellRangeData::setDataArray() t... (diff) | |
download | core-42e80ec68bc1f4d2dfd62b82116790687321d231.tar.gz core-42e80ec68bc1f4d2dfd62b82116790687321d231.zip |
dr80: #i116460# performance of Excel file with many outlines
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1300438660 -3600
# Node ID aa7d08a12d7ee60c71eb4f2dc1241197e009c443
# Parent 49c53fbe0cd4d663f419b659c82618bd106282ef
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/token/properties.txt | 1 | ||||
-rw-r--r-- | oox/source/xls/worksheethelper.cxx | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/oox/source/token/properties.txt b/oox/source/token/properties.txt index 1469c822442e..d071a220e61a 100644 --- a/oox/source/token/properties.txt +++ b/oox/source/token/properties.txt @@ -494,6 +494,7 @@ VerticalSplitMode VerticalSplitPositionTwips ViewBox Visible +VisibleFlag VisibleSize VisualArea VisualEffect diff --git a/oox/source/xls/worksheethelper.cxx b/oox/source/xls/worksheethelper.cxx index 02802a392783..ba5014ff09dd 100644 --- a/oox/source/xls/worksheethelper.cxx +++ b/oox/source/xls/worksheethelper.cxx @@ -1243,7 +1243,9 @@ void WorksheetGlobals::convertRows( OutlineLevelVec& orRowLevels, if( rModel.mbHidden ) { PropertySet aPropSet( getRows( rRowRange ) ); - aPropSet.setProperty( PROP_IsVisible, false ); + // #i116460# Use VisibleFlag instead of IsVisible: directly set the flag, + // without drawing layer update etc. (only possible before shapes are inserted) + aPropSet.setProperty( PROP_VisibleFlag, false ); } // outline settings for this row range |