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 /reportdesign | |
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 'reportdesign')
-rw-r--r-- | reportdesign/source/core/api/ReportDefinition.cxx | 6 | ||||
-rw-r--r-- | reportdesign/source/core/inc/ReportDrawPage.hxx | 1 | ||||
-rw-r--r-- | reportdesign/source/core/sdr/ModuleHelper.cxx | 6 |
3 files changed, 0 insertions, 13 deletions
diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx index d096e776cda3..2c2bb456e5db 100644 --- a/reportdesign/source/core/api/ReportDefinition.cxx +++ b/reportdesign/source/core/api/ReportDefinition.cxx @@ -529,14 +529,8 @@ struct OReportDefinitionImpl ,m_bEscapeProcessing(true) ,m_bSetModifiedEnabled( true ) {} - - ~OReportDefinitionImpl(); }; -OReportDefinitionImpl::~OReportDefinitionImpl() -{ -} - OReportDefinition::OReportDefinition(uno::Reference< uno::XComponentContext > const & _xContext) : ReportDefinitionBase(m_aMutex) ,ReportDefinitionPropertySet(_xContext,static_cast< Implements >(IMPLEMENTS_PROPERTY_SET),uno::Sequence< OUString >()) diff --git a/reportdesign/source/core/inc/ReportDrawPage.hxx b/reportdesign/source/core/inc/ReportDrawPage.hxx index 8504803b7bf5..da3ba3b46280 100644 --- a/reportdesign/source/core/inc/ReportDrawPage.hxx +++ b/reportdesign/source/core/inc/ReportDrawPage.hxx @@ -36,7 +36,6 @@ namespace reportdesign virtual css::uno::Reference< css::drawing::XShape > CreateShape( SdrObject *pObj ) const throw (css::uno::RuntimeException, std::exception) override; public: OReportDrawPage(SdrPage* pPage,const css::uno::Reference< css::report::XSection >& _xSection); - virtual ~OReportDrawPage() throw() override {} }; } #endif // INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_REPORTDRAWPAGE_HXX diff --git a/reportdesign/source/core/sdr/ModuleHelper.cxx b/reportdesign/source/core/sdr/ModuleHelper.cxx index ca6d5a0c7e74..bb292ab0f012 100644 --- a/reportdesign/source/core/sdr/ModuleHelper.cxx +++ b/reportdesign/source/core/sdr/ModuleHelper.cxx @@ -48,7 +48,6 @@ class OModuleImpl public: /// ctor OModuleImpl(); - ~OModuleImpl(); /// get the manager for the resources of the module ResMgr* getResManager(); @@ -61,11 +60,6 @@ OModuleImpl::OModuleImpl() } -OModuleImpl::~OModuleImpl() -{ -} - - ResMgr* OModuleImpl::getResManager() { // note that this method is not threadsafe, which counts for the whole class ! |