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

Armin Le Grand <armin.le.gr...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|libreoffice-b...@lists.free |armin.le.gr...@me.com
                   |desktop.org                 |

--- Comment #9 from Armin Le Grand <armin.le.gr...@me.com> ---
It is hard to find a point in the program flow to reset the on-demand created
outliners. The on-demand creation and cacing (SdrOutlinerCache) is done behind
the UNO API while the load is in xmloff on the other side.
Detected a place where the on-demand outliner (and the VirtualDevice) held at
SvxTextEditSourceImpl can be flushed. To detect, it triggers when
- there is an outliner
- there is a model
- the model is locked (at load time)
- only one object (1 == maRefCount) uses the outliner (the SdrObject/SvxObject)
- and the object is a SdrObjCustomShape
This works and reduces the number of Outliners (and VirtualDevices) used when
loading the document from ca. 4200 (until it crashes) to one which is even
cached by the SdrOutlinerCache. Doing some more tests...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to