Andreas Martens wrote: > I see, SwDoc::GetEditShell(..) is the problem. Sometimes the Writer > model (SwDoc) needs to broadcast an event to all controllers > (ViewShell), e.g. if a part of the model is deleted. > The controller could have cursor pointing into this deleted area and > these cursors needs to be adjusted. At the moment SwDoc gets the > controllers from the layout. If you remove the layout from the SwDoc, > you need a new possibility to notify all ViewShells. I meant you should > not add a parameter "Layout" to the method SwDoc::GetEditShell(..), we > need a new mechanism to get the ViewShells from SwDoc _without_ using > the layout. For the moment you should remove this parameter "Layout" > from GetEditShell(..). How did this go on? Has the "Layout" parameter been removed? As Andreas said, notifying all ViewShells should be possible differently.
Best regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[EMAIL PROTECTED]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]