https://bugs.documentfoundation.org/show_bug.cgi?id=41645

--- Comment #28 from Justin L <[email protected]> ---
The recalc is initiated by an event call to ScDBFunc::RecalcPivotTable() which
calls RefreshPivotTables (with bApi = false).

//Reload the referenced pivot cache, and refresh all pivot tables
// that reference the cache.
RefreshPivotTables has a note
        // This action is intentionally not undoable since it modifies cache.

ScDBDocFunc::UpdatePivotTable compares the old and new size, verifying that it
won't overwrite non-pivot-table content. It calls rDPObj.Output(aNewOut.aStart)
which right away calls DeleteArea with InsertDeleteFlags::ALL.

I suppose we want to keep all except InsertDeleteFlags::CONTENTS and FORMULA?

Proposed fix at gerrit.libreoffice.org/c/core/+/141600

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

Reply via email to