Kaydet (Commit) ec64924e authored tarafından Markus Mohrhard's avatar Markus Mohrhard

don't need to check for null before delete

üst f729d2d8
...@@ -197,10 +197,8 @@ void SfxChildWindow::Destroy() ...@@ -197,10 +197,8 @@ void SfxChildWindow::Destroy()
SfxChildWindow::~SfxChildWindow() SfxChildWindow::~SfxChildWindow()
{ {
DBG_DTOR(SfxChildWindow,0); DBG_DTOR(SfxChildWindow,0);
if ( pContext ) delete pContext;
delete pContext; delete pWindow;
if ( pWindow )
delete pWindow;
delete pImp; delete pImp;
} }
......
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