• Dennis Francis's avatar
    tdf#124326 : ScUndoDragDrop : don't do update references... · 9079da7f
    Dennis Francis yazdı
    on undo, as all affected formula-cells are preserved in original
    form in the undo document. This is ensured by the drag-drop
    move-block code (ScDocFunc::MoveBlock) which in-turn calls
    ScDocument::UpdateReference, which records all original
    formula-cells to the undo-document.
    
    Anyway the sc::RefMovedHint object created in ScUndoDragDrop::Undo
    is wrong, as it operates on original data-range(aCxt.maRange = aSrcRange)
    which is interpreted as "old data-range" in the context of undo-move
    operation.
    
    Change-Id: Ic48cc3fa51fdb17e9338f65ac95b8e8d30c2c92c
    Reviewed-on: https://gerrit.libreoffice.org/70315
    Tested-by: Jenkins
    Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
    9079da7f