sw/source/uibase/uno/unotxdoc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit cbbfed893616f804cb6557185ddda26c0cef2ed6 Author: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> AuthorDate: Mon Jan 18 12:07:16 2021 +0100 Commit: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> CommitDate: Mon Jan 18 15:52:12 2021 +0100 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.mehrbr...@allotropia.de> 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( _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits