• Daniel Bankston's avatar
    Improve matrix import performance. · deaac6ff
    Daniel Bankston yazdı
    Our latest changes that recalculate volatile formulas at the end of import
    resulted in several seconds performance loss on a large matrix test file
    with complex formulas.
    
    When the matrix cells are put in the document, ScFormulaCell::SetDirty()
    gets called.  Although the cells are set clean during import after this,
    SetDirty() also uses ScDocument::TrackFormulas() which puts the cells in
    the formula tree.  So when we call ScDocument::DoRecalc() at the end of
    import, the interpreter goes through all matrix cells because they are
    in the formula tree.
    
    This commit prevent that from happening, which gives us back our performance.
    
    Change-Id: I961f69b0117d4261f8afefb6d94173105f0925b2
    deaac6ff
cell.hxx 21.9 KB