• Armin Le Grand's avatar
    tdf#116879 Separate SdrObjList::Clear() as needed · 0fe7bda2
    Armin Le Grand yazdı
    SdrObjList::Clear() does broadcast the SdrObject
    removals and deletions and a SetChanged() to SdrModel.
    The old version avoided this in the destructor (with
    a comment to not call virtual methods in destructor,
    but  the problem is more that the ::Notify triggered
    works on the SdrPage already in destruction). To allow
    calls to Clear() without broadcasting I splitted this
    to a impClearSdrObjList(bool bBrodacast) and rename
    of ::Clear to ::ClearSdrObjList to get all places.
    Adapted all places in the code as needed, already pre-
    checked on Linux that this fixes the problem.
    
    Change-Id: Iea46758fb6b57f2b3d9896959a35260c6f6d52d5
    Reviewed-on: https://gerrit.libreoffice.org/53839Tested-by: 's avatarJenkins <ci@libreoffice.org>
    Reviewed-by: 's avatarArmin Le Grand <Armin.Le.Grand@cib.de>
    0fe7bda2
Adı
Son kayıt (commit)
Son güncelleme
..
inc Loading commit data...
qa/unit Loading commit data...
sdi Loading commit data...
source Loading commit data...
uiconfig/basicide Loading commit data...
util Loading commit data...
AllLangMoTarget_basctl.mk Loading commit data...
CppunitTest_basctl_dialogs_test.mk Loading commit data...
Library_basctl.mk Loading commit data...
Makefile Loading commit data...
Module_basctl.mk Loading commit data...
README Loading commit data...
UIConfig_basicide.mk Loading commit data...