diff options
Diffstat (limited to 'sw/source/core/layout/pagechg.cxx')
-rw-r--r-- | sw/source/core/layout/pagechg.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx index a684b1602a1a..867617682f50 100644 --- a/sw/source/core/layout/pagechg.cxx +++ b/sw/source/core/layout/pagechg.cxx @@ -284,7 +284,7 @@ void SwPageFrame::DestroyImpl() SwViewShellImp *pImp = pSh->Imp(); pImp->SetFirstVisPageInvalid(); if ( pImp->IsAction() ) - pImp->GetLayAction().SetAgain(); + pImp->GetLayAction().SetAgain(true); // #i9719# - retouche area of page // including border and shadow area. const bool bRightSidebar = (SidebarPosition() == sw::sidebarwindows::SidebarPosition::RIGHT); @@ -1632,6 +1632,9 @@ void SwRootFrame::AssertFlyPages() AssertPageFlys(pFirstRevivedEmptyPage); } + //Remove masters that haven't been replaced yet from the list. + RemoveMasterObjs( mpDrawPage ); + #if OSL_DEBUG_LEVEL > 0 pPage = static_cast<SwPageFrame*>(Lower()); while ( pPage && pPage->GetNext() && |