Kaydet (Commit) d83488f9 authored tarafından Cédric Bosdonnat's avatar Cédric Bosdonnat

fdo#40438: force calculating layout before Activate to avoid crashes and loops

üst 2ad876ae
......@@ -53,6 +53,10 @@ extern int bDocSzUpdated;
void SwView::Activate(sal_Bool bMDIActivate)
{
// fdo#40438 Update the layout to make sure everything is correct before showing the content
pWrtShell->StartAction();
pWrtShell->EndAction( sal_True );
// aktuelle View anmelden an der DocShell
// die View bleibt solange an der DocShell
// aktiv bis Sie zerstoert wird oder durch Activate eine
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment