ColumnSpanSet variant optimized for just one ScRange

Desktop / LibreOffice - Luboš Luňák [collabora.com] - 10 October 2018 11:00 EDT

Since ScInterpreter::IterateParameters() iterates over just one range, there's no point to to set flags for that range and then generically walk over that range, just directly use the range.

Change-Id: I13003eb09bd98f145e9ead5e485596168d9399cb Reviewed-on: https://gerrit.libreoffice.org/60866

18ff25ff5965 ColumnSpanSet variant optimized for just one ScRange
sc/inc/columnspanset.hxx | 16 ++++++++++
sc/inc/document.hxx | 2 ++
sc/inc/table.hxx | 2 ++
sc/qa/unit/ucalc.cxx | 1 -
sc/source/core/data/columnspanset.cxx | 60 +++++++++++++++++++++++++++++++++++
sc/source/core/data/table4.cxx | 1 -
sc/source/core/tool/interpr6.cxx | 3 +-
sc/source/ui/vba/vbarange.cxx | 1 -
sc/source/ui/view/preview.cxx | 1 -
sc/source/ui/view/viewfun2.cxx | 1 -
10 files changed, 81 insertions(+), 7 deletions(-)

Upstream: cgit.freedesktop.org


  • Share