[Libreoffice-commits] core.git: Branch 'distro/cib/libreoffice-6-1' - sw/source

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Thu Jan 21 07:54:51 UTC 2021


 sw/source/uibase/uno/unotxdoc.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b510f403f9fb9e429ffe9faccf78808d64c5f8b5
Author:     Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
AuthorDate: Mon Jan 18 12:07:16 2021 +0100
Commit:     Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
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 <samuel.mehrbrodt at allotropia.de>
    (cherry picked from commit cbbfed893616f804cb6557185ddda26c0cef2ed6)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109572
    Tested-by: Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>

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(


More information about the Libreoffice-commits mailing list