diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 08:21:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 08:15:36 +0000 |
commit | ef2b4342e9f8a887bb840d8a6c875125139d433a (patch) | |
tree | cf261b63e7cceef509dcaf7244e08ba83ea2bbe2 /include | |
parent | 3c6b7c8b43d23dd7de46c02ee2cfa5bd2a97f168 (diff) |
loplugin: unnecessary destructor oox..sax
Change-Id: Ie12bfabc92bce04d702f3e77aa5896366e49245e
Reviewed-on: https://gerrit.libreoffice.org/33509
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/drawingml/chart/modelbase.hxx | 3 | ||||
-rw-r--r-- | include/oox/drawingml/shape.hxx | 1 | ||||
-rw-r--r-- | include/registry/refltype.hxx | 3 |
3 files changed, 0 insertions, 7 deletions
diff --git a/include/oox/drawingml/chart/modelbase.hxx b/include/oox/drawingml/chart/modelbase.hxx index d27d13937bad..312d3e35e2bf 100644 --- a/include/oox/drawingml/chart/modelbase.hxx +++ b/include/oox/drawingml/chart/modelbase.hxx @@ -39,7 +39,6 @@ class ModelRef : public std::shared_ptr< ModelType > public: ModelRef() {} ModelRef( const std::shared_ptr< ModelType >& rxModel ) : std::shared_ptr< ModelType >( rxModel ) {} - ~ModelRef() {} bool is() const { return this->get() != 0; } @@ -62,7 +61,6 @@ public: typedef typename RefVector< ModelType >::size_type size_type; ModelVector() {} - ~ModelVector() {} ModelType& create() { return append( new ModelType ); } template< typename Param1Type > @@ -83,7 +81,6 @@ public: typedef typename RefMap< KeyType, ModelType >::value_type value_type; ModelMap() {} - ~ModelMap() {} ModelType& create( KeyType eKey ) { return insert( eKey, new ModelType ); } diff --git a/include/oox/drawingml/shape.hxx b/include/oox/drawingml/shape.hxx index 67f9a9b48afd..1bc3fb7bbfba 100644 --- a/include/oox/drawingml/shape.hxx +++ b/include/oox/drawingml/shape.hxx @@ -92,7 +92,6 @@ struct LinkedTxbxAttr sal_Int32 id; sal_Int32 seq; LinkedTxbxAttr(): id(0),seq(0){}; - ~LinkedTxbxAttr(){}; }; class OOX_DLLPUBLIC Shape diff --git a/include/registry/refltype.hxx b/include/registry/refltype.hxx index 3e3bedad8796..f2a7db22f1d4 100644 --- a/include/registry/refltype.hxx +++ b/include/registry/refltype.hxx @@ -53,9 +53,6 @@ public: { m_value.aDouble = 0.0; } - - /// Destructor - ~RTConstValue() {} }; /** deprecated. |