Hi Andrew, not having an answer to your question, but ...
> Assume a draw document with a single shape selected. > I want to delete the single shape. > The code shown below obtains a reference to the selected shape from the > current controller (because it is selected). > > So, if I have a reference to a shape that is inserted into a draw page, > how can I delete it? > I tried oShape.Dispose(), which crashed OOo. > I tried oShape.getParent().Remove(oShape), which crashed OOo. ... for both of the crashes I would like to see issues in IssueZilla, if possible :) Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]