diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-11 10:48:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-14 07:36:13 +0100 |
commit | ef82ccdda93186b4cab55aeac3844295194120a4 (patch) | |
tree | 0b036b9b48aa82fcd2f1b6a0810634d8eacb8c71 /include/oox/drawingml | |
parent | d156995180b565f34b52859aa1d6953995a76b9a (diff) |
new loplugin:trivialconstructor
Change-Id: Iaaf63c49ce94987ab9c4ebc68e963cc3054a3c34
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131342
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/oox/drawingml')
-rw-r--r-- | include/oox/drawingml/chart/modelbase.hxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/oox/drawingml/chart/modelbase.hxx b/include/oox/drawingml/chart/modelbase.hxx index a167077753e0..581713bbc9e1 100644 --- a/include/oox/drawingml/chart/modelbase.hxx +++ b/include/oox/drawingml/chart/modelbase.hxx @@ -58,8 +58,6 @@ public: typedef typename RefVector< ModelType >::value_type value_type; typedef typename RefVector< ModelType >::size_type size_type; - ModelVector() {} - ModelType& create() { return append( std::make_shared<ModelType>() ); } template< typename Param1Type > ModelType& create( const Param1Type& rParam1 ) { return append( std::make_shared<ModelType>( rParam1 ) ); } @@ -84,8 +82,6 @@ public: typedef typename RefMap< KeyType, ModelType >::mapped_type mapped_type; typedef typename RefMap< KeyType, ModelType >::value_type value_type; - ModelMap() {} - ModelType& create( KeyType eKey ) { return insert( eKey, new ModelType ); } private: |