summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unotxdoc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/unotxdoc.cxx')
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx2
1 files changed, 1 insertions, 1 deletions
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(