https://bugs.documentfoundation.org/show_bug.cgi?id=148040
--- Comment #3 from Eike Rathke <er...@redhat.com> --- Checking rDoc.IsFunctionAccess() in isLinkUpdateAllowedInDoc() if there is no SfxObjectShell looks viable, apparently it could also work without the non-present sfx2::LinkManager in this case, needs to be checked. However, careful with still obeying the "update links when opening" setting, I think if that is set to Never also the function access shouldn't be allowed to do so. Unfortunately there is no caller parent document here that could be asked to determine the on request and always cases. Probably the interim document should have EnableExecuteLink() set accordingly in ScTempDocSource::CreateDocument(). So then in isLinkUpdateAllowedInDoc() it would be checking rDoc.IsFunctionAccess() && rDoc.IsExecuteLinkEnabled() -- You are receiving this mail because: You are the assignee for the bug.