Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | DDE-link crashes wordprocessor | ||
---|---|---|---|
Product: | Writer | Reporter: | Rainer Bielefeld <rainerbielefeld_ooo_qa> |
Component: | code | Assignee: | eric.savary |
Status: | CLOSED FIXED | QA Contact: | issues@sw <issues> |
Severity: | Trivial | ||
Priority: | P1 (highest) | CC: | issues |
Version: | OOo 1.1 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
Rainer Bielefeld
2003-05-07 11:44:29 UTC
JA->OS: Reproducible on my XP box. Look at crash report ID rqzv46. SBA mentioned this as probably fixed within CWS os10 ? Retargetted to ooo1.1 and reassigned to you. OS->TL: In svx/source/svxlink/linkmgr.cxx line 412/413 is the following code: const SfxPoolItem* pRet = SfxViewFrame::Current()->GetDispatcher()-> Execute( SID_OPENDOC, SFX_CALLMODE_SYNCHRON, &aName, &aMinimized, &aReferer, &aTarget, 0L ); that tries to access a current view frame that's not available as long as no document is open. This has to be exchanged by: SfxAllItemSet aArgs( SFX_APP()->GetPool() ); SfxRequest aRequest( SID_OPENDIC, SFX_CALLMODE_SYNCHRON, aArgs ); SFX_APP()->ExecuteSlot( aRequest ); OS->TL: Sorry, I forgot some parts: SfxAllItemSet aArgs( SFX_APP()->GetPool() ); aArgs.Put(aReferer); aArgs.Put(aTarget); aArgs.Put(aMinimized); aArgs.Put(aName); SfxRequest aRequest( SID_OPENDOC, SFX_CALLMODE_SYNCHRON, aArgs ); SFX_APP()->ExecuteSlot( aRequest ); const SfxPoolItem* pRet = aRequest.GetReturnValue(); JA: changed status to new Files changed: svx/*/linkmgr.cxx 1.15.234.1 Fixed in CWS sw015. One question still: before the fix, for each DDE-Link in the text document (all from the same calc-document) an additional copy of the calc-documet was opened to actualize the contents. That seems to be no good idea. Is that beviour fixed, too? If not, another issue should be opened for that. Rainer . TL->ES: Please check. . Hi, I tried 1.1 Beta2 had had to learn that the problem still exists. The fix will be included first in 1.1 RC and not in 1.1B? Rainer Ok in 645m5-2 |