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:
parent
67194f9448
commit
cbbfed8936
1 changed files with 1 additions and 1 deletions
|
@ -2225,7 +2225,7 @@ void SwXTextDocument::refresh()
|
||||||
SwViewShell *pViewShell = m_pDocShell->GetWrtShell();
|
SwViewShell *pViewShell = m_pDocShell->GetWrtShell();
|
||||||
NotifyRefreshListeners();
|
NotifyRefreshListeners();
|
||||||
if(pViewShell)
|
if(pViewShell)
|
||||||
pViewShell->CalcLayout();
|
pViewShell->Reformat();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SAL_CALL SwXTextDocument::addRefreshListener(
|
void SAL_CALL SwXTextDocument::addRefreshListener(
|
||||||
|
|
Loading…
Reference in a new issue