summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-01-28 11:31:07 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2014-01-28 11:32:32 +0900
commit5b0fd61d698293ad85b1c09267ea4488e11a967c (patch)
tree9a211b3078ad973f5d455ceaf672f1cd9c23808e
parent3032d08226f77505e7105fb7cfb7f4b4741fd3ca (diff)
Deleting NULL is safe
Change-Id: I673fd307d3f5f8c5c27b5dd6968775f81c0af8a0
-rw-r--r--sw/source/filter/ww8/ww8toolbar.cxx4
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;
}