Kaydet (Commit) 226fcd04 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

No need to check for NULL value before deleting.

Change-Id: Ic1e6ecea3ba3ba4ed07760557b04bc07bd963532
üst 9da4fe80
......@@ -593,7 +593,6 @@ XclExpChTrAction::XclExpChTrAction(
XclExpChTrAction::~XclExpChTrAction()
{
if( pAddAction )
delete pAddAction;
}
......@@ -749,9 +748,7 @@ XclExpChTrCellContent::XclExpChTrCellContent(
XclExpChTrCellContent::~XclExpChTrCellContent()
{
if( pOldData )
delete pOldData;
if( pNewData )
delete pNewData;
}
......@@ -1476,7 +1473,6 @@ XclExpChangeTrack::~XclExpChangeTrack()
aActionStack.pop();
}
if( pTempDoc )
delete pTempDoc;
}
......
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