diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlcelli.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index e09868fefe0d..f1e49fedc87a 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -273,12 +273,9 @@ ScXMLTableRowCellContext::ScXMLTableRowCellContext( ScXMLImport& rImport, ScXMLTableRowCellContext::~ScXMLTableRowCellContext() { - if (pContentValidationName) - delete pContentValidationName; - if (pDetectiveObjVec) - delete pDetectiveObjVec; - if (pCellRangeSource) - delete pCellRangeSource; + delete pContentValidationName; + delete pDetectiveObjVec; + delete pCellRangeSource; } void ScXMLTableRowCellContext::LockSolarMutex() |