[Libreoffice-commits] core.git: sw/source

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Mon Jan 18 14:53:05 UTC 2021


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

New commits:
commit cbbfed893616f804cb6557185ddda26c0cef2ed6
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: 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.mehrbrodt at 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(


More information about the Libreoffice-commits mailing list