diff options
Diffstat (limited to 'sw/source/core/layout/layact.cxx')
-rw-r--r-- | sw/source/core/layout/layact.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx index dbc90fdfe8a6..af7fee2e3a3a 100644 --- a/sw/source/core/layout/layact.cxx +++ b/sw/source/core/layout/layact.cxx @@ -334,7 +334,7 @@ bool SwLayAction::RemoveEmptyBrowserPages() SwPageFrm *pDel = pPage; pPage = static_cast<SwPageFrm*>(pPage->GetNext()); pDel->Cut(); - delete pDel; + SwFrm::DestroyFrm(pDel); } } while ( pPage ); } |