diff options
-rw-r--r-- | sw/source/ui/chrdlg/drpcps.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/ui/chrdlg/drpcps.cxx b/sw/source/ui/chrdlg/drpcps.cxx index a02cd8dfe215..9580fbd37242 100644 --- a/sw/source/ui/chrdlg/drpcps.cxx +++ b/sw/source/ui/chrdlg/drpcps.cxx @@ -195,6 +195,9 @@ void SwDropCapsPict::UpdatePaintSettings() vcl::Font aFont; if (mpPage) { + // tdf#135244: preview generation should not jump document view + auto aLock(mpPage->rSh.GetView().GetDocShell()->LockAllViews()); + if (!mpPage->m_xTemplateBox->get_active()) { // query the Font at paragraph's beginning |