summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2021-01-18 12:07:16 +0100
committerSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2021-01-18 15:52:12 +0100
commitcbbfed893616f804cb6557185ddda26c0cef2ed6 (patch)
tree8339f2db819935984d6a5d2cb28ca5376d62e4d7 /sw/source/uibase/uno
parent67194f944861a76cccf6a432beb3dbe8983416ef (diff)
XTextDocument::refresh should do a full reformatting
Change-Id: Ia92e10e43cb8254b6dd35db03462b87d0fe93f45 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109538 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'sw/source/uibase/uno')
-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(