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>
This commit is contained in:
Samuel Mehrbrodt 2021-01-18 12:07:16 +01:00
parent 67194f9448
commit cbbfed8936

View file

@ -2225,7 +2225,7 @@ void SwXTextDocument::refresh()
SwViewShell *pViewShell = m_pDocShell->GetWrtShell();
NotifyRefreshListeners();
if(pViewShell)
pViewShell->CalcLayout();
pViewShell->Reformat();
}
void SAL_CALL SwXTextDocument::addRefreshListener(