diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-19 13:06:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-22 08:18:08 +0200 |
commit | f17f977d0ad5b4c51a8f58b43901f72de001a56d (patch) | |
tree | 24e25caa72db9d21b1728f52f17758ab103e9c76 /xmloff/source | |
parent | acd1c51791bdf522d7ffd8dd225fb59cd2eb17ff (diff) |
loplugin:write only fields
Change-Id: I45895e9845a9037da207f001fece427452ed499f
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/chart/SchXMLImport.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/shapeimport.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 2 |
3 files changed, 0 insertions, 10 deletions
diff --git a/xmloff/source/chart/SchXMLImport.cxx b/xmloff/source/chart/SchXMLImport.cxx index 1190674642be..443425d087e8 100644 --- a/xmloff/source/chart/SchXMLImport.cxx +++ b/xmloff/source/chart/SchXMLImport.cxx @@ -94,7 +94,6 @@ SchXMLImportHelper::SchXMLImportHelper() : mpChartAttrTokenMap( nullptr ), mpPlotAreaAttrTokenMap( nullptr ), - mpAutoStyleAttrTokenMap( nullptr ), mpCellAttrTokenMap( nullptr ), mpSeriesAttrTokenMap( nullptr ), mpPropMappingAttrTokenMap( nullptr ), @@ -113,7 +112,6 @@ SchXMLImportHelper::~SchXMLImportHelper() delete mpChartAttrTokenMap; delete mpPlotAreaAttrTokenMap; - delete mpAutoStyleAttrTokenMap; delete mpCellAttrTokenMap; delete mpSeriesAttrTokenMap; delete mpPropMappingAttrTokenMap; diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx index 18b7dd9c436a..80d269e09383 100644 --- a/xmloff/source/draw/shapeimport.cxx +++ b/xmloff/source/draw/shapeimport.cxx @@ -122,10 +122,7 @@ XMLShapeImportHelper::XMLShapeImportHelper( mp3DPolygonBasedAttrTokenMap(nullptr), mp3DCubeObjectAttrTokenMap(nullptr), mp3DSphereObjectAttrTokenMap(nullptr), - mp3DSceneShapeAttrTokenMap(nullptr), mp3DLightAttrTokenMap(nullptr), - mpPathShapeAttrTokenMap(nullptr), - mpPolygonShapeAttrTokenMap(nullptr), msStartShape("StartShape"), msEndShape("EndShape"), msStartGluePointIndex("StartGluePointIndex"), @@ -198,14 +195,11 @@ XMLShapeImportHelper::~XMLShapeImportHelper() delete mpGroupShapeElemTokenMap; delete mpFrameShapeElemTokenMap; - delete mpPolygonShapeAttrTokenMap; - delete mpPathShapeAttrTokenMap; delete mp3DSceneShapeElemTokenMap; delete mp3DObjectAttrTokenMap; delete mp3DPolygonBasedAttrTokenMap; delete mp3DCubeObjectAttrTokenMap; delete mp3DSphereObjectAttrTokenMap; - delete mp3DSceneShapeAttrTokenMap; delete mp3DLightAttrTokenMap; // Styles or AutoStyles context? diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index a7ece9e3431f..89ca1966b59e 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -1170,7 +1170,6 @@ XMLTextParagraphExport::XMLTextParagraphExport( pSectionExport( nullptr ), pIndexMarkExport( nullptr ), pRedlineExport( nullptr ), - pHeadingStyles( nullptr ), bProgress( false ), bBlock( false ), bOpenRuby( false ), @@ -1320,7 +1319,6 @@ XMLTextParagraphExport::XMLTextParagraphExport( XMLTextParagraphExport::~XMLTextParagraphExport() { - delete pHeadingStyles; delete pRedlineExport; delete pIndexMarkExport; delete pSectionExport; |