https://bugs.documentfoundation.org/show_bug.cgi?id=147503
--- Comment #10 from Caolán McNamara <caol...@redhat.com> --- Can't quite be sure what should happen but a place to start thinking is in NewXForms where in the non-hidden (edit now) case xDocSh->nOwnerLockCount is 2 after SfxViewFrame::DisplayNewDocument so when xDocSh goes out of scope the document isn't closed, while in hidden the nOwnerLockCount is 1 and on out of scope goes to 0 and gets closed which seems to be the difference. -- You are receiving this mail because: You are the assignee for the bug.