Issue 14090 - Master Document "Insert New File" only inserts another Master Document
Summary: Master Document "Insert New File" only inserts another Master Document
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: h.ilter
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-05 02:21 UTC by rblackeagle
Modified: 2013-08-07 14:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description rblackeagle 2003-05-05 02:21:21 UTC
When using the Navigator to "Insert New File", the new file is always set as a Master Document.  There is no option to permit the insertion of a sub-document and inserting a Master Document inside a Master Document is a useless action.
Comment 1 Oliver Specht 2003-05-05 07:51:43 UTC
os->mba: This code worked correctly for a long time. What has changed?
(sw/source/ui/utlui/glbltree.cxx)
SfxStringItem aFactory(SID_NEWDOCDIRECT,
SwDocShell::Factory().GetFilterContainer()->GetName());
const SfxFrameItem* pItem = (SfxFrameItem*)					 
rDispatch.Execute(SID_NEWDOCDIRECT,
  SFX_CALLMODE_SYNCHRON, &aFactory, 0L);

Comment 2 Mathias_Bauer 2003-05-05 11:01:12 UTC
Seems that SwDocShell::Factory() retrieves the wrong factory (?!).
Needs further investigation.
Comment 3 Mathias_Bauer 2003-05-07 11:08:44 UTC
It's a simple problem in SFX
Comment 4 Mathias_Bauer 2003-05-07 11:09:14 UTC
fixed in CWS fwk02
Comment 5 Mathias_Bauer 2003-05-14 13:14:20 UTC
@hi: Please verify
Comment 6 h.ilter 2003-05-14 15:18:42 UTC
Fixed
Comment 7 h.ilter 2003-05-14 15:19:59 UTC
Verified with 644m13s2_8609 (cws:fw02) = ok
Comment 8 h.ilter 2003-07-23 15:11:43 UTC
.