You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by li zhang <li...@gmail.com> on 2012/10/10 10:51:49 UTC

[call for review] One fix about performanc​e improvemen​t(xlsx loading)

hi, all
I have one fix need for review. Please check the below for details, thanks!

it is about xlsx loading:
https://issues.apache.org/ooo/show_bug.cgi?id=121190

Root cause:
UpdatePageBreaks was called many times wrongly when loading.


Resolution:
1. temporarily disable 'UpdatePageBreaks' in WorkbookGlobals::initialize(
bool bWorkbookFile )
2. disable 'UpdatePageBreaks' in loading .xlsx format file in function
ScTable::UpdatePageBreaks( const ScRange* pUserArea )
3. enable 'UpdatePageBreaks' after loading finish in
WorkbookGlobals::finalize()