diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index 7fa248a90e65..1a0615b0f09f 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -2225,7 +2225,7 @@ void SwXTextDocument::refresh() SwViewShell *pViewShell = m_pDocShell->GetWrtShell(); NotifyRefreshListeners(); if(pViewShell) - pViewShell->CalcLayout(); + pViewShell->Reformat(); } void SAL_CALL SwXTextDocument::addRefreshListener(