don't need to check for null before delete

This commit is contained in:
Markus Mohrhard
2012-03-20 21:08:43 +01:00
parent f729d2d830
commit ec64924ea8

View File

@@ -197,10 +197,8 @@ void SfxChildWindow::Destroy()
SfxChildWindow::~SfxChildWindow()
{
DBG_DTOR(SfxChildWindow,0);
if ( pContext )
delete pContext;
if ( pWindow )
delete pWindow;
delete pContext;
delete pWindow;
delete pImp;
}