incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120824] Save performance: Improve StyleSheet mapping
Date Wed, 05 Sep 2012 14:58:10 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120824

--- Comment #3 from Armin Le Grand <Armin.Le.Grand@me.com> ---
ALG: Another bottleneck is ScStyleObj::SetOnePropertyValue because for every
single property change a StyleSheetChange update is triggered. Since this
update is independent from the property it can be optimized to do that after a
range of properties is set.
Added ScStyleObj::SetOnePropertyValueWithoutUpdate, made
ScStyleObj::SetOnePropertyValue use it and call StyleSheetChangedUpdate() (also
added and extracted from ScStyleObj::SetOnePropertyValue. Using in
ScStyleObj::setPropertyValues to set all props in a loop and call update only
once.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message