• Eike Rathke's avatar
    Resolves: tdf#94249 do not remove broadcasters while iterators are in use · e4a8ae0b
    Eike Rathke yazdı
    EndListeningContext holds BroadcasterStoreType iterators in its
    ColumnBlockPositionSet and collects broadcasters to purge them at the
    end. Removing broadcasters from ScColumn::maBroadcasters in between
    invalidates the iterators. Hence calling the "normal" EndListening()
    that removes a broadcaster when all listeners are gone while an
    EndListeningContext is in use is bad.
    
    Change-Id: Ibdd88469e91e6173ceff1f391c23ef7cb7c6f596
    e4a8ae0b
sharedformula.hxx 4.95 KB