diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index 176bc8db2748..35ff90d58865 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3596,8 +3596,11 @@ void SwXTextDocument::initializeForTiledRendering(const css::uno::Sequence(SfxViewShell::GetFirst()); if (pFirstView && SfxViewShell::GetNext(*pFirstView) == nullptr) { - if (SwViewShell* pShell = &pFirstView->GetWrtShell()) - pShell->UpdateFields(true); + if (SwEditShell* pShell = &pFirstView->GetWrtShell()) + { + pShell->SwViewShell::UpdateFields(true); + pShell->ResetModified(); + } } }