diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-03-09 21:54:28 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-03-10 14:57:05 +0100 |
commit | b595df2012d897f0dce4c203a6231a0d8402b068 (patch) | |
tree | ad45f3f9d29ebd3c776a6a8c5e893449d8c2d0a2 /xmloff | |
parent | ed778238375b45d3d1fb384ed3c78ce250f1c28d (diff) |
unnecessary null pointer check before delete
Change-Id: I16d48a501353b45e2d6c8cc0de49f3da0709eabe
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/chart/SchXMLExport.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index bd985173f4ff..fd0b08c65998 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -2875,8 +2875,7 @@ void SchXMLExportHelper_Impl::exportSeries( nSeriesLength, xNewDiagram, bExportContent ); // close series element - if( pSeries ) - delete pSeries; + delete pSeries; } } aPropertyStates.clear(); |