diff options
author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2021-01-18 12:07:16 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2021-01-18 15:52:12 +0100 |
commit | cbbfed893616f804cb6557185ddda26c0cef2ed6 (patch) | |
tree | 8339f2db819935984d6a5d2cb28ca5376d62e4d7 /sw | |
parent | 67194f944861a76cccf6a432beb3dbe8983416ef (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')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 2 |
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( |