diff options
author | Niklas Nebel <nn@openoffice.org> | 2011-03-18 09:57:40 +0100 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2011-03-18 09:57:40 +0100 |
commit | a4bfeb1d20a41b2fc84c2cef6cb29f0fc08a48eb (patch) | |
tree | 8e205bc1b65e70e9c247e0d54b58bce9bdc9699b /oox/source | |
parent | 3968b5956fca5a5faf056fbe1f7e1bbadb099269 (diff) |
dr80: #i116460# performance of Excel file with many outlines
Diffstat (limited to 'oox/source')
-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 b0726f86657e..a99718028c7a 100644 --- a/oox/source/token/properties.txt +++ b/oox/source/token/properties.txt @@ -473,6 +473,7 @@ VerticalSplitMode VerticalSplitPositionTwips ViewBox Visible +VisibleFlag VisibleSize VisualArea VisualEffect diff --git a/oox/source/xls/worksheethelper.cxx b/oox/source/xls/worksheethelper.cxx index 48ffac388cfd..76aa8174e8b8 100644 --- a/oox/source/xls/worksheethelper.cxx +++ b/oox/source/xls/worksheethelper.cxx @@ -1631,7 +1631,9 @@ void WorksheetData::convertRows( OutlineLevelVec& orRowLevels, if( rModel.mbHidden ) { PropertySet aPropSet( getRows( nFirstRow, nLastRow ) ); - 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 |