Apache OpenOffice (AOO) Bugzilla – Issue 14090
Master Document "Insert New File" only inserts another Master Document
Last modified: 2013-08-07 14:42:08 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.
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);
Seems that SwDocShell::Factory() retrieves the wrong factory (?!). Needs further investigation.
It's a simple problem in SFX
fixed in CWS fwk02
@hi: Please verify
Fixed
Verified with 644m13s2_8609 (cws:fw02) = ok
.