diff options
-rw-r--r-- | oox/source/drawingml/table/tableproperties.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/oox/source/drawingml/table/tableproperties.cxx b/oox/source/drawingml/table/tableproperties.cxx index 85d758a5fd97..4de51ee959ce 100644 --- a/oox/source/drawingml/table/tableproperties.cxx +++ b/oox/source/drawingml/table/tableproperties.cxx @@ -296,11 +296,7 @@ void TableProperties::pushToPropSet( const ::oox::core::XmlFilterBase& rFilterBa if(mbOwnTblStyle) { TableStyle* pTableStyle = (TableStyle*)&rTableStyle; - if(pTableStyle != NULL) - { - delete pTableStyle; - pTableStyle = NULL; - } + delete pTableStyle; mbOwnTblStyle = false; } } |