summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2011-11-28 12:41:50 +0100
committerEike Rathke <erack@redhat.com>2011-11-28 15:25:34 +0100
commit42e80ec68bc1f4d2dfd62b82116790687321d231 (patch)
treecf626212f7c1d11a10e5dc667c99b947cdc72f24 /oox
parent62e8e2a31a9344ee40a5ebde6fe7559290efb300 (diff)
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.txt1
-rw-r--r--oox/source/xls/worksheethelper.cxx4
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