No need to check for NULL before delete.
Change-Id: I8618fe6d3b27eb561137dc1e327e50a41f946494
This commit is contained in:
@@ -176,10 +176,7 @@ SotElement_Impl::SotElement_Impl( const OUString& rName, bool bStor, bool bNew )
|
|||||||
|
|
||||||
SotElement_Impl::~SotElement_Impl()
|
SotElement_Impl::~SotElement_Impl()
|
||||||
{
|
{
|
||||||
if ( m_pStorage )
|
|
||||||
delete m_pStorage;
|
delete m_pStorage;
|
||||||
|
|
||||||
if ( m_pStream )
|
|
||||||
delete m_pStream;
|
delete m_pStream;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user