https://issues.apache.org/ooo/show_bug.cgi?id=123914

--- Comment #10 from Armin Le Grand <[email protected]> ---
Avoiding creation makes the doc and wizard survive. There are three places in
SW where GetTmpDocShell is checked and obviously the cration of a temp
SwDocShell is handled, all with the same (german) comment

// es wurde in der CORE eine neu angelegt (OLE-Objekte kopiert!)

which is like

// there was one newly created (OLE copied!)

Looks as if someone implemented this by purpose to handle a missing SwDocShell
in SwOLENode::MakeCopy to have a way to get a EmbeddedObjectContainer and to
have a SvPersist where to place a copy of the OLE data. All three copies call
SwTransferable::InitOle and then also call SetTmpDocShell(NULL) as the wizard
does. But thez also use a SfxObjectShellLock aDocShellRef to hold the return
value of GetTmpDocShell. Lets see how far this can be done in the wizard, too
(the SwTransferable::InitOle call may be missing anyways)...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to