diff options
author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2021-01-12 16:02:34 +0100 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2021-01-18 03:54:19 +0100 |
commit | b5dff6131058d3e98307c24bb5796d7dd2b589f8 (patch) | |
tree | 9f0bdb644abebca24ae045dfc74cac887944d531 /sw/source/uibase | |
parent | openssl_headers depends on generated opensslconf.h (diff) | |
download | core-b5dff6131058d3e98307c24bb5796d7dd2b589f8.tar.gz core-b5dff6131058d3e98307c24bb5796d7dd2b589f8.zip |
Make uno:RefreshView redo the whole document layout
This is useful when encountering layout problems, to refresh
the doc layout from an extension.
Change-Id: Ie2472f061ebea203a9d876782b3bb953477de7c9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109218
Tested-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/uiview/view2.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx index 4a76ca612eef..8ab119113225 100644 --- a/sw/source/uibase/uiview/view2.cxx +++ b/sw/source/uibase/uiview/view2.cxx @@ -532,6 +532,7 @@ void SwView::Execute(SfxRequest &rReq) break; case FN_REFRESH_VIEW: GetEditWin().Invalidate(); + m_pWrtShell->Reformat(); break; case FN_PAGEUP: case FN_PAGEUP_SEL: |