summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-03-10 14:41:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-03-11 09:06:06 +0100
commit7002caa97e10d29353d3490b4fbb782d436575b3 (patch)
tree98c254c9f94272e145417034f5cdc85b942edf74 /oox
parenta370e7ff7e8225b8343678401eca5a1721b2b9bb (diff)
new loplugin:trivialdestructor
look for potentially trivial destructors that can then be elided Change-Id: I435c251bd4291b5864c20d68f88676faac7c43fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131318 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/inc/drawingml/chart/plotareamodel.hxx2
-rw-r--r--oox/inc/drawingml/chart/seriesmodel.hxx1
-rw-r--r--oox/inc/drawingml/chart/titlemodel.hxx1
-rw-r--r--oox/source/drawingml/chart/modelbase.cxx4
-rw-r--r--oox/source/drawingml/chart/plotareamodel.cxx8
-rw-r--r--oox/source/drawingml/chart/seriesmodel.cxx4
-rw-r--r--oox/source/drawingml/chart/titlemodel.cxx4
7 files changed, 0 insertions, 24 deletions
diff --git a/oox/inc/drawingml/chart/plotareamodel.hxx b/oox/inc/drawingml/chart/plotareamodel.hxx
index eea7d14d89a9..ad7a2495b714 100644
--- a/oox/inc/drawingml/chart/plotareamodel.hxx
+++ b/oox/inc/drawingml/chart/plotareamodel.hxx
@@ -37,7 +37,6 @@ struct View3DModel
bool mbRightAngled; /// True = right-angled axes in 3D view.
explicit View3DModel(bool bMSO2007Doc);
- ~View3DModel();
};
struct WallFloorModel
@@ -58,7 +57,6 @@ struct DataTableModel
bool mbShowVBorder; /// Show Vertical Border
bool mbShowOutline; /// Show outline
explicit DataTableModel();
- ~DataTableModel();
};
struct PlotAreaModel
diff --git a/oox/inc/drawingml/chart/seriesmodel.hxx b/oox/inc/drawingml/chart/seriesmodel.hxx
index 460293a5feee..34656a6daf4a 100644
--- a/oox/inc/drawingml/chart/seriesmodel.hxx
+++ b/oox/inc/drawingml/chart/seriesmodel.hxx
@@ -92,7 +92,6 @@ struct PictureOptionsModel
bool mbApplyToEnd; /// True = draw picture at top/bottom side of 3D data points.
explicit PictureOptionsModel(bool bMSO2007Doc);
- ~PictureOptionsModel();
};
struct ErrorBarModel
diff --git a/oox/inc/drawingml/chart/titlemodel.hxx b/oox/inc/drawingml/chart/titlemodel.hxx
index dd5b6756e757..3aea5b445b15 100644
--- a/oox/inc/drawingml/chart/titlemodel.hxx
+++ b/oox/inc/drawingml/chart/titlemodel.hxx
@@ -61,7 +61,6 @@ struct LegendEntryModel
bool mbLabelDeleted; /// True = legend label deleted.
LegendEntryModel();
- ~LegendEntryModel();
};
struct LegendModel
diff --git a/oox/source/drawingml/chart/modelbase.cxx b/oox/source/drawingml/chart/modelbase.cxx
index feb5b9aed251..b897d9306d76 100644
--- a/oox/source/drawingml/chart/modelbase.cxx
+++ b/oox/source/drawingml/chart/modelbase.cxx
@@ -49,10 +49,6 @@ LayoutModel::LayoutModel() :
{
}
-LayoutModel::~LayoutModel()
-{
-}
-
} // namespace oox::drawingml::chart
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/plotareamodel.cxx b/oox/source/drawingml/chart/plotareamodel.cxx
index c5e403a2453a..ba949572a950 100644
--- a/oox/source/drawingml/chart/plotareamodel.cxx
+++ b/oox/source/drawingml/chart/plotareamodel.cxx
@@ -30,10 +30,6 @@ View3DModel::View3DModel(bool bMSO2007Doc) :
{
}
-View3DModel::~View3DModel()
-{
-}
-
WallFloorModel::WallFloorModel()
{
}
@@ -49,10 +45,6 @@ DataTableModel::DataTableModel() :
{
}
-DataTableModel::~DataTableModel()
-{
-}
-
PlotAreaModel::PlotAreaModel()
{
mxShapeProp.create().getFillProperties().moFillType = XML_noFill;
diff --git a/oox/source/drawingml/chart/seriesmodel.cxx b/oox/source/drawingml/chart/seriesmodel.cxx
index 4ad9b2593af4..95b0deb225e7 100644
--- a/oox/source/drawingml/chart/seriesmodel.cxx
+++ b/oox/source/drawingml/chart/seriesmodel.cxx
@@ -62,10 +62,6 @@ PictureOptionsModel::PictureOptionsModel(bool bMSO2007Doc) :
{
}
-PictureOptionsModel::~PictureOptionsModel()
-{
-}
-
ErrorBarModel::ErrorBarModel(bool bMSO2007Doc) :
mfValue( 0.0 ),
mnDirection( XML_y ),
diff --git a/oox/source/drawingml/chart/titlemodel.cxx b/oox/source/drawingml/chart/titlemodel.cxx
index f28520573904..0bbaa7ee68e6 100644
--- a/oox/source/drawingml/chart/titlemodel.cxx
+++ b/oox/source/drawingml/chart/titlemodel.cxx
@@ -46,10 +46,6 @@ LegendEntryModel::LegendEntryModel() :
{
}
-LegendEntryModel::~LegendEntryModel()
-{
-}
-
LegendModel::LegendModel() :
mnPosition( XML_r ),
mbOverlay( false )