diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2014-01-28 11:31:07 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2014-01-28 11:32:32 +0900 |
commit | 5b0fd61d698293ad85b1c09267ea4488e11a967c (patch) | |
tree | 9a211b3078ad973f5d455ceaf672f1cd9c23808e | |
parent | 3032d08226f77505e7105fb7cfb7f4b4741fd3ca (diff) |
Deleting NULL is safe
Change-Id: I673fd307d3f5f8c5c27b5dd6968775f81c0af8a0
-rw-r--r-- | sw/source/filter/ww8/ww8toolbar.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx index 24e6cb7e927f..1192207be98b 100644 --- a/sw/source/filter/ww8/ww8toolbar.cxx +++ b/sw/source/filter/ww8/ww8toolbar.cxx @@ -979,7 +979,6 @@ PlfAcd::PlfAcd( bool bReadId ) : Tcg255SubStruct( bReadId ) PlfAcd::~PlfAcd() { - if ( rgacd ) delete[] rgacd; } @@ -1023,7 +1022,6 @@ PlfKme::PlfKme( bool bReadId ) : Tcg255SubStruct( bReadId ) PlfKme::~PlfKme() { - if ( rgkme ) delete[] rgkme; } @@ -1087,7 +1085,6 @@ TcgSttbfCore::TcgSttbfCore() : fExtend( 0 ) TcgSttbfCore::~TcgSttbfCore() { - if ( dataItems ) delete[] dataItems; } @@ -1133,7 +1130,6 @@ MacroNames::MacroNames( bool bReadId ) : Tcg255SubStruct( bReadId ) MacroNames::~MacroNames() { - if ( rgNames ) delete[] rgNames; } |