sw/source/uibase/uno/unotxdoc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b510f403f9fb9e429ffe9faccf78808d64c5f8b5 Author: Samuel Mehrbrodt <[email protected]> AuthorDate: Mon Jan 18 12:07:16 2021 +0100 Commit: Samuel Mehrbrodt <[email protected]> CommitDate: Thu Jan 21 08:54:10 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 <[email protected]> (cherry picked from commit cbbfed893616f804cb6557185ddda26c0cef2ed6) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109572 Tested-by: Samuel Mehrbrodt <[email protected]> diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index 1db55d3c5831..1bbf2fc5a972 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -2246,7 +2246,7 @@ void SwXTextDocument::refresh() SwViewShell *pViewShell = pDocShell->GetWrtShell(); NotifyRefreshListeners(); if(pViewShell) - pViewShell->CalcLayout(); + pViewShell->Reformat(); } void SAL_CALL SwXTextDocument::addRefreshListener( _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
