diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-10 14:41:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-11 09:06:06 +0100 |
commit | 7002caa97e10d29353d3490b4fbb782d436575b3 (patch) | |
tree | 98c254c9f94272e145417034f5cdc85b942edf74 /xmloff/inc | |
parent | a370e7ff7e8225b8343678401eca5a1721b2b9bb (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 'xmloff/inc')
-rw-r--r-- | xmloff/inc/TransGradientStyle.hxx | 2 | ||||
-rw-r--r-- | xmloff/inc/XMLBackgroundImageExport.hxx | 2 | ||||
-rw-r--r-- | xmloff/inc/XMLImageMapExport.hxx | 2 | ||||
-rw-r--r-- | xmloff/inc/xmltabe.hxx | 1 |
4 files changed, 0 insertions, 7 deletions
diff --git a/xmloff/inc/TransGradientStyle.hxx b/xmloff/inc/TransGradientStyle.hxx index f01ae1c19596..781969f7db93 100644 --- a/xmloff/inc/TransGradientStyle.hxx +++ b/xmloff/inc/TransGradientStyle.hxx @@ -37,7 +37,6 @@ class XMLTransGradientStyleImport public: XMLTransGradientStyleImport( SvXMLImport& rImport ); - ~XMLTransGradientStyleImport(); void importXML( const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList, @@ -51,7 +50,6 @@ class XMLTransGradientStyleExport public: XMLTransGradientStyleExport( SvXMLExport& rExport ); - ~XMLTransGradientStyleExport(); void exportXML( const OUString& rStrName, const css::uno::Any& rValue ); }; diff --git a/xmloff/inc/XMLBackgroundImageExport.hxx b/xmloff/inc/XMLBackgroundImageExport.hxx index 1eafe86ba5ec..401df38ef263 100644 --- a/xmloff/inc/XMLBackgroundImageExport.hxx +++ b/xmloff/inc/XMLBackgroundImageExport.hxx @@ -38,8 +38,6 @@ public: XMLBackgroundImageExport( SvXMLExport& rExport ); - ~XMLBackgroundImageExport(); - void exportXML( const css::uno::Any& rURL, const css::uno::Any *pPos, const css::uno::Any *pFilter, diff --git a/xmloff/inc/XMLImageMapExport.hxx b/xmloff/inc/XMLImageMapExport.hxx index ddf62bb6f394..12679b6dbb5a 100644 --- a/xmloff/inc/XMLImageMapExport.hxx +++ b/xmloff/inc/XMLImageMapExport.hxx @@ -39,8 +39,6 @@ class XMLImageMapExport public: XMLImageMapExport(SvXMLExport& rExport); - ~XMLImageMapExport(); - /** * Get the ImageMap object from the "ImageMap" property and subsequently * export the map (if present). diff --git a/xmloff/inc/xmltabe.hxx b/xmloff/inc/xmltabe.hxx index 0023490e299f..af2873b7656a 100644 --- a/xmloff/inc/xmltabe.hxx +++ b/xmloff/inc/xmltabe.hxx @@ -40,7 +40,6 @@ class SvxXMLTabStopExport final public: SvxXMLTabStopExport( SvXMLExport& rExport ); - ~SvxXMLTabStopExport(); // core API void Export( const css::uno::Any& rAny ); |