diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-02 11:14:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-02 11:14:51 +0100 |
commit | 6eb60ca80115c35fbfce2789146e485835e7709e (patch) | |
tree | 16f1a2367eda914ef3a63cd0881888bcc27500c8 /svx | |
parent | 0e513fdc44c36df54949628d7497345cff804f59 (diff) |
loplugin:unnecessaryoverride (dtors) in svx
Change-Id: Icc4d9919cedadc00f1420939564dd095fab74cca
Diffstat (limited to 'svx')
31 files changed, 0 insertions, 199 deletions
diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.cxx b/svx/source/accessibility/AccessibleEmptyEditSource.cxx index 454157265f12..37b9ed24f24b 100644 --- a/svx/source/accessibility/AccessibleEmptyEditSource.cxx +++ b/svx/source/accessibility/AccessibleEmptyEditSource.cxx @@ -53,7 +53,6 @@ namespace accessibility AccessibleProxyEditSource_Impl( SdrObject& rObj, SdrView& rView, const vcl::Window& rViewWindow ); - virtual ~AccessibleProxyEditSource_Impl() override; // from the SvxEditSource interface SvxTextForwarder* GetTextForwarder() override; @@ -78,7 +77,6 @@ namespace accessibility public: AccessibleEmptyEditSource_Impl() {} - virtual ~AccessibleEmptyEditSource_Impl() override {} // SvxEditSource SvxTextForwarder* GetTextForwarder() override { return this; } @@ -176,10 +174,6 @@ namespace accessibility { } - AccessibleProxyEditSource_Impl::~AccessibleProxyEditSource_Impl() - { - } - SvxTextForwarder* AccessibleProxyEditSource_Impl::GetTextForwarder() { return maEditSource.GetTextForwarder(); diff --git a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx index bb26ebd1027d..b2f5beeb98ba 100644 --- a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx @@ -76,7 +76,6 @@ class EnhancedCustomShapeEngine : public cppu::WeakImplHelper public: EnhancedCustomShapeEngine(); - virtual ~EnhancedCustomShapeEngine() override; // XInterface virtual void SAL_CALL acquire() throw() override; @@ -109,9 +108,6 @@ EnhancedCustomShapeEngine::EnhancedCustomShapeEngine() : mbForceGroupWithText ( false ) { } -EnhancedCustomShapeEngine::~EnhancedCustomShapeEngine() -{ -} // XInterface void SAL_CALL EnhancedCustomShapeEngine::acquire() throw() diff --git a/svx/source/dialog/SafeModeUI.cxx b/svx/source/dialog/SafeModeUI.cxx index a0afd1dfce2b..024d17b5861a 100644 --- a/svx/source/dialog/SafeModeUI.cxx +++ b/svx/source/dialog/SafeModeUI.cxx @@ -25,7 +25,6 @@ class SafeModeUI : public ::cppu::WeakImplHelper< css::lang::XServiceInfo, { public: SafeModeUI(); - virtual ~SafeModeUI() override; // css.lang.XServiceInfo virtual OUString SAL_CALL getImplementationName() @@ -47,10 +46,6 @@ SafeModeUI::SafeModeUI() { } -SafeModeUI::~SafeModeUI() -{ -} - OUString SAL_CALL SafeModeUI::getImplementationName() throw(css::uno::RuntimeException, std::exception) { diff --git a/svx/source/dialog/crashreportui.cxx b/svx/source/dialog/crashreportui.cxx index 2b29da378fc1..62e5edd80efd 100644 --- a/svx/source/dialog/crashreportui.cxx +++ b/svx/source/dialog/crashreportui.cxx @@ -25,7 +25,6 @@ class CrashReportUI : public ::cppu::WeakImplHelper< css::lang::XServiceInfo { public: explicit CrashReportUI(const css::uno::Reference< css::uno::XComponentContext >& xContext); - virtual ~CrashReportUI() override; // css.lang.XServiceInfo @@ -53,10 +52,6 @@ CrashReportUI::CrashReportUI(const css::uno::Reference<css::uno::XComponentConte } -CrashReportUI::~CrashReportUI() -{ -} - OUString SAL_CALL CrashReportUI::getImplementationName() throw(css::uno::RuntimeException, std::exception) { diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx index 74e32c97bd1d..f80ca7a612aa 100644 --- a/svx/source/form/fmscriptingenv.cxx +++ b/svx/source/form/fmscriptingenv.cxx @@ -151,7 +151,6 @@ namespace svxform public: explicit FormScriptingEnvironment( FmFormModel& _rModel ); - virtual ~FormScriptingEnvironment() override; FormScriptingEnvironment(const FormScriptingEnvironment&) = delete; FormScriptingEnvironment& operator=(const FormScriptingEnvironment&) = delete; @@ -908,12 +907,6 @@ namespace svxform // This cycle is broken up when our instance is disposed. } - - FormScriptingEnvironment::~FormScriptingEnvironment() - { - } - - void FormScriptingEnvironment::impl_registerOrRevoke_throw( const Reference< XEventAttacherManager >& _rxManager, bool _bRegister ) { ::osl::MutexGuard aGuard( m_aMutex ); diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx index 3b5207437059..2782d82e0fe3 100644 --- a/svx/source/gallery2/galbrws2.cxx +++ b/svx/source/gallery2/galbrws2.cxx @@ -129,7 +129,6 @@ public: sal_uIntPtr nObjectPos, bool bPreview, GalleryBrowser2* pBrowser ); - virtual ~GalleryThemePopup() override; void ExecutePopup( vcl::Window *pParent, const ::Point &aPos ); @@ -170,10 +169,6 @@ GalleryThemePopup::GalleryThemePopup( } -GalleryThemePopup::~GalleryThemePopup() -{ -} - void SAL_CALL GalleryThemePopup::statusChanged( const css::frame::FeatureStateEvent &rEvent ) throw ( css::uno::RuntimeException, std::exception ) diff --git a/svx/source/mnuctrls/smarttagmenu.cxx b/svx/source/mnuctrls/smarttagmenu.cxx index 404062f830aa..fea4e303dc03 100644 --- a/svx/source/mnuctrls/smarttagmenu.cxx +++ b/svx/source/mnuctrls/smarttagmenu.cxx @@ -28,7 +28,6 @@ class SmartTagMenuController : public svt::PopupMenuControllerBase { public: explicit SmartTagMenuController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~SmartTagMenuController() override; // XStatusListener virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& rEvent ) throw ( css::uno::RuntimeException, std::exception ) override; @@ -58,10 +57,6 @@ SmartTagMenuController::SmartTagMenuController( const css::uno::Reference< css:: { } -SmartTagMenuController::~SmartTagMenuController() -{ -} - void SmartTagMenuController::statusChanged( const css::frame::FeatureStateEvent& rEvent ) throw ( css::uno::RuntimeException, std::exception ) { diff --git a/svx/source/sdr/contact/viewobjectcontact.cxx b/svx/source/sdr/contact/viewobjectcontact.cxx index 622331692ec1..6a1866681668 100644 --- a/svx/source/sdr/contact/viewobjectcontact.cxx +++ b/svx/source/sdr/contact/viewobjectcontact.cxx @@ -73,7 +73,6 @@ public: const drawinglayer::geometry::ViewInformation2D& rViewInformation, bool bTextAnimationAllowed, bool bGraphicAnimationAllowed); - virtual ~AnimatedExtractingProcessor2D() override; // data access const drawinglayer::primitive2d::Primitive2DContainer& getPrimitive2DSequence() const { return maPrimitive2DSequence; } @@ -92,10 +91,6 @@ AnimatedExtractingProcessor2D::AnimatedExtractingProcessor2D( { } -AnimatedExtractingProcessor2D::~AnimatedExtractingProcessor2D() -{ -} - void AnimatedExtractingProcessor2D::processBasePrimitive2D(const drawinglayer::primitive2d::BasePrimitive2D& rCandidate) { // known implementation, access directly diff --git a/svx/source/sidebar/PanelFactory.cxx b/svx/source/sidebar/PanelFactory.cxx index 664586e1789e..ebe0191dbf79 100644 --- a/svx/source/sidebar/PanelFactory.cxx +++ b/svx/source/sidebar/PanelFactory.cxx @@ -65,7 +65,6 @@ class PanelFactory { public: PanelFactory(); - virtual ~PanelFactory() override; PanelFactory(const PanelFactory&) = delete; PanelFactory& operator=(const PanelFactory&) = delete; @@ -96,12 +95,6 @@ PanelFactory::PanelFactory() { } - -PanelFactory::~PanelFactory() -{ -} - - Reference<ui::XUIElement> SAL_CALL PanelFactory::createUIElement ( const ::rtl::OUString& rsResourceURL, const ::css::uno::Sequence<css::beans::PropertyValue>& rArguments) diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index 4ca13f6cedb6..90f91f11fbb7 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -131,7 +131,6 @@ class SdrGraphicUpdater : public ::osl::Thread { public: SdrGraphicUpdater( const OUString& rFileName, const OUString& rFilterName, SdrGraphicLink& ); - virtual ~SdrGraphicUpdater() override; void SAL_CALL Terminate(); @@ -167,10 +166,6 @@ SdrGraphicUpdater::SdrGraphicUpdater( const OUString& rFileName, const OUString& create(); } -SdrGraphicUpdater::~SdrGraphicUpdater() -{ -} - void SdrGraphicUpdater::Terminate() { mbIsTerminated = true; diff --git a/svx/source/svdraw/svdotxln.cxx b/svx/source/svdraw/svdotxln.cxx index 16566fb9cfbf..d46f64509be8 100644 --- a/svx/source/svdraw/svdotxln.cxx +++ b/svx/source/svdraw/svdotxln.cxx @@ -44,17 +44,12 @@ public: : ::sfx2::SvBaseLink( ::SfxLinkUpdateMode::ONCALL, SotClipboardFormatId::SIMPLE_FILE ), pSdrObj( pObj1 ) {} - virtual ~ImpSdrObjTextLink() override; virtual void Closed() override; virtual ::sfx2::SvBaseLink::UpdateResult DataChanged( const OUString& rMimeType, const css::uno::Any & rValue ) override; }; -ImpSdrObjTextLink::~ImpSdrObjTextLink() -{ -} - void ImpSdrObjTextLink::Closed() { if (pSdrObj ) diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index 9a96ec963083..65fc32dbdf83 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -159,9 +159,6 @@ namespace sdr // constructor for copying, but using new object CellProperties(const CellProperties& rProps, SdrObject& rObj, sdr::table::Cell* pCell); - // destructor - virtual ~CellProperties() override; - // Clone() operator, normally just calls the local copy constructor BaseProperties& Clone(SdrObject& rObj) const override; @@ -216,10 +213,6 @@ namespace sdr { } - CellProperties::~CellProperties() - { - } - BaseProperties& CellProperties::Clone(SdrObject& rObj) const { OSL_FAIL("CellProperties::Clone(), does not work yet!"); diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index 2c8a9907c967..eadd5a9a818a 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -94,9 +94,6 @@ public: // constructor for copying, but using new object TableProperties(const TableProperties& rProps, SdrObject& rObj ); - // destructor - virtual ~TableProperties() override; - // Clone() operator, normally just calls the local copy constructor BaseProperties& Clone(SdrObject& rObj) const override; @@ -113,10 +110,6 @@ TableProperties::TableProperties(const TableProperties& rProps, SdrObject& rObj) { } -TableProperties::~TableProperties() -{ -} - BaseProperties& TableProperties::Clone(SdrObject& rObj) const { return *(new TableProperties(*this, rObj)); diff --git a/svx/source/table/tablehandles.cxx b/svx/source/table/tablehandles.cxx index 53647e987910..a6645d2fe37a 100644 --- a/svx/source/table/tablehandles.cxx +++ b/svx/source/table/tablehandles.cxx @@ -52,7 +52,6 @@ protected: public: OverlayTableEdge( const basegfx::B2DPolyPolygon& rPolyPolygon, bool bVisible ); - virtual ~OverlayTableEdge() override; }; @@ -205,10 +204,6 @@ OverlayTableEdge::OverlayTableEdge( const basegfx::B2DPolyPolygon& rPolyPolygon, { } -OverlayTableEdge::~OverlayTableEdge() -{ -} - drawinglayer::primitive2d::Primitive2DContainer OverlayTableEdge::createOverlayObjectPrimitive2DSequence() { drawinglayer::primitive2d::Primitive2DContainer aRetval; diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx index c42d2627693e..8ae9fe807bb1 100644 --- a/svx/source/tbxctrls/tbunocontroller.cxx +++ b/svx/source/tbxctrls/tbunocontroller.cxx @@ -49,7 +49,6 @@ class FontHeightToolBoxControl : public svt::ToolboxController, public: explicit FontHeightToolBoxControl( const css::uno::Reference< css::uno::XComponentContext >& rServiceManager ); - virtual ~FontHeightToolBoxControl() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override; @@ -272,10 +271,6 @@ FontHeightToolBoxControl::FontHeightToolBoxControl( const uno::Reference< uno::X addStatusListener( ".uno:CharFontName"); } -FontHeightToolBoxControl::~FontHeightToolBoxControl() -{ -} - // XInterface css::uno::Any SAL_CALL FontHeightToolBoxControl::queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx index deedad6885b5..2a852fce9c3b 100644 --- a/svx/source/unodraw/UnoGraphicExporter.cxx +++ b/svx/source/unodraw/UnoGraphicExporter.cxx @@ -140,7 +140,6 @@ namespace { { public: GraphicExporter(); - virtual ~GraphicExporter() override; // XFilter virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& aDescriptor ) throw(RuntimeException, std::exception) override; @@ -283,7 +282,6 @@ class ImplExportCheckVisisbilityRedirector : public sdr::contact::ViewObjectCont { public: explicit ImplExportCheckVisisbilityRedirector( SdrPage* pCurrentPage ); - virtual ~ImplExportCheckVisisbilityRedirector() override; virtual drawinglayer::primitive2d::Primitive2DContainer createRedirectedPrimitive2DSequence( const sdr::contact::ViewObjectContact& rOriginal, @@ -298,10 +296,6 @@ ImplExportCheckVisisbilityRedirector::ImplExportCheckVisisbilityRedirector( SdrP { } -ImplExportCheckVisisbilityRedirector::~ImplExportCheckVisisbilityRedirector() -{ -} - drawinglayer::primitive2d::Primitive2DContainer ImplExportCheckVisisbilityRedirector::createRedirectedPrimitive2DSequence( const sdr::contact::ViewObjectContact& rOriginal, const sdr::contact::DisplayInfo& rDisplayInfo) @@ -333,10 +327,6 @@ GraphicExporter::GraphicExporter() { } -GraphicExporter::~GraphicExporter() -{ -} - IMPL_LINK(GraphicExporter, CalcFieldValueHdl, EditFieldInfo*, pInfo, void) { if( pInfo ) diff --git a/svx/source/unodraw/UnoNamespaceMap.cxx b/svx/source/unodraw/UnoNamespaceMap.cxx index e542d61c0a42..548865e0d01a 100644 --- a/svx/source/unodraw/UnoNamespaceMap.cxx +++ b/svx/source/unodraw/UnoNamespaceMap.cxx @@ -55,7 +55,6 @@ namespace svx public: NamespaceMap( sal_uInt16* pWhichIds, SfxItemPool* pPool ); - virtual ~NamespaceMap() override; // XNameAccess virtual Any SAL_CALL getByName( const OUString& aName ) throw (NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) override; @@ -186,10 +185,6 @@ NamespaceMap::NamespaceMap( sal_uInt16* pWhichIds, SfxItemPool* pPool ) { } -NamespaceMap::~NamespaceMap() -{ -} - // XNameAccess Any SAL_CALL NamespaceMap::getByName( const OUString& aName ) throw (NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) { diff --git a/svx/source/unodraw/XPropertyTable.cxx b/svx/source/unodraw/XPropertyTable.cxx index 83a64e915c3d..2b1f57904915 100644 --- a/svx/source/unodraw/XPropertyTable.cxx +++ b/svx/source/unodraw/XPropertyTable.cxx @@ -53,8 +53,6 @@ private: public: SvxUnoXPropertyTable( sal_Int16 nWhich, XPropertyList* pList ) throw(); - virtual ~SvxUnoXPropertyTable() throw() override; - virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw(uno::RuntimeException) = 0; virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const throw(uno::RuntimeException, lang::IllegalArgumentException) = 0; @@ -82,10 +80,6 @@ SvxUnoXPropertyTable::SvxUnoXPropertyTable( sal_Int16 nWhich, XPropertyList* pLi { } -SvxUnoXPropertyTable::~SvxUnoXPropertyTable() throw() -{ -} - const XPropertyEntry* SvxUnoXPropertyTable::get(long index) const { if( mpList ) diff --git a/svx/source/unodraw/gluepts.cxx b/svx/source/unodraw/gluepts.cxx index b70c6d734645..150d5beafa34 100644 --- a/svx/source/unodraw/gluepts.cxx +++ b/svx/source/unodraw/gluepts.cxx @@ -42,7 +42,6 @@ private: public: explicit SvxUnoGluePointAccess( SdrObject* pObject ) throw(); - virtual ~SvxUnoGluePointAccess() throw() override; // XIdentifierContainer virtual sal_Int32 SAL_CALL insert( const uno::Any& aElement ) throw (lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override; @@ -196,10 +195,6 @@ SvxUnoGluePointAccess::SvxUnoGluePointAccess( SdrObject* pObject ) throw() { } -SvxUnoGluePointAccess::~SvxUnoGluePointAccess() throw() -{ -} - // XIdentifierContainer sal_Int32 SAL_CALL SvxUnoGluePointAccess::insert( const uno::Any& aElement ) throw (lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException, std::exception) { diff --git a/svx/source/unodraw/recoveryui.cxx b/svx/source/unodraw/recoveryui.cxx index 0404e397fcc6..90ab28488885 100644 --- a/svx/source/unodraw/recoveryui.cxx +++ b/svx/source/unodraw/recoveryui.cxx @@ -78,11 +78,6 @@ class RecoveryUI : public ::cppu::WeakImplHelper< css::lang::XServiceInfo /** @short TODO */ explicit RecoveryUI(const css::uno::Reference< css::uno::XComponentContext >& xContext); - - /** @short TODO */ - virtual ~RecoveryUI() override; - - // css.lang.XServiceInfo virtual OUString SAL_CALL getImplementationName() @@ -120,10 +115,6 @@ RecoveryUI::RecoveryUI(const css::uno::Reference< css::uno::XComponentContext >& { } -RecoveryUI::~RecoveryUI() -{ -} - OUString SAL_CALL RecoveryUI::getImplementationName() throw(css::uno::RuntimeException, std::exception) { diff --git a/svx/source/unodraw/unobtabl.cxx b/svx/source/unodraw/unobtabl.cxx index f2f927ff3eac..388c2e49c974 100644 --- a/svx/source/unodraw/unobtabl.cxx +++ b/svx/source/unodraw/unobtabl.cxx @@ -39,7 +39,6 @@ class SvxUnoBitmapTable : public SvxUnoNameItemTable { public: explicit SvxUnoBitmapTable( SdrModel* pModel ) throw(); - virtual ~SvxUnoBitmapTable() throw() override; virtual NameOrIndex* createItem() const throw() override; virtual bool isValid( const NameOrIndex* pItem ) const override; @@ -57,10 +56,6 @@ SvxUnoBitmapTable::SvxUnoBitmapTable( SdrModel* pModel ) throw() { } -SvxUnoBitmapTable::~SvxUnoBitmapTable() throw() -{ -} - bool SvxUnoBitmapTable::isValid( const NameOrIndex* pItem ) const { if( SvxUnoNameItemTable::isValid( pItem ) ) diff --git a/svx/source/unodraw/unodtabl.cxx b/svx/source/unodraw/unodtabl.cxx index 07ebbb3a164c..5574ec29bf90 100644 --- a/svx/source/unodraw/unodtabl.cxx +++ b/svx/source/unodraw/unodtabl.cxx @@ -37,7 +37,6 @@ class SvxUnoDashTable : public SvxUnoNameItemTable { public: explicit SvxUnoDashTable( SdrModel* pModel ) throw(); - virtual ~SvxUnoDashTable() throw() override; virtual NameOrIndex* createItem() const throw() override; @@ -54,10 +53,6 @@ SvxUnoDashTable::SvxUnoDashTable( SdrModel* pModel ) throw() { } -SvxUnoDashTable::~SvxUnoDashTable() throw() -{ -} - OUString SAL_CALL SvxUnoDashTable::getImplementationName() throw( uno::RuntimeException, std::exception ) { return OUString("SvxUnoDashTable"); diff --git a/svx/source/unodraw/unogtabl.cxx b/svx/source/unodraw/unogtabl.cxx index 82519d2651b6..148bc63148c0 100644 --- a/svx/source/unodraw/unogtabl.cxx +++ b/svx/source/unodraw/unogtabl.cxx @@ -36,7 +36,6 @@ class SvxUnoGradientTable : public SvxUnoNameItemTable { public: explicit SvxUnoGradientTable( SdrModel* pModel ) throw(); - virtual ~SvxUnoGradientTable() throw() override; virtual NameOrIndex* createItem() const throw() override; @@ -53,10 +52,6 @@ SvxUnoGradientTable::SvxUnoGradientTable( SdrModel* pModel ) throw() { } -SvxUnoGradientTable::~SvxUnoGradientTable() throw() -{ -} - OUString SAL_CALL SvxUnoGradientTable::getImplementationName() throw( uno::RuntimeException, std::exception ) { return OUString("SvxUnoGradientTable"); diff --git a/svx/source/unodraw/unohtabl.cxx b/svx/source/unodraw/unohtabl.cxx index 0bdd10aaffff..dcfda9772a50 100644 --- a/svx/source/unodraw/unohtabl.cxx +++ b/svx/source/unodraw/unohtabl.cxx @@ -36,7 +36,6 @@ class SvxUnoHatchTable : public SvxUnoNameItemTable { public: explicit SvxUnoHatchTable( SdrModel* pModel ) throw(); - virtual ~SvxUnoHatchTable() throw() override; virtual NameOrIndex* createItem() const throw() override; @@ -53,10 +52,6 @@ SvxUnoHatchTable::SvxUnoHatchTable( SdrModel* pModel ) throw() { } -SvxUnoHatchTable::~SvxUnoHatchTable() throw() -{ -} - OUString SAL_CALL SvxUnoHatchTable::getImplementationName() throw( uno::RuntimeException, std::exception ) { return OUString("SvxUnoHatchTable"); diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx index 40f02f2f1349..55033c62f5ac 100644 --- a/svx/source/unodraw/unomod.cxx +++ b/svx/source/unodraw/unomod.cxx @@ -73,7 +73,6 @@ private: public: explicit SvxUnoDrawPagesAccess( SvxUnoDrawingModel& rMyModel ) throw(); - virtual ~SvxUnoDrawPagesAccess() throw() override; // XDrawPages virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL insertNewByIndex( sal_Int32 nIndex ) throw(css::uno::RuntimeException, std::exception) override; @@ -577,10 +576,6 @@ SvxUnoDrawPagesAccess::SvxUnoDrawPagesAccess( SvxUnoDrawingModel& rMyModel ) th { } -SvxUnoDrawPagesAccess::~SvxUnoDrawPagesAccess() throw() -{ -} - // XIndexAccess sal_Int32 SAL_CALL SvxUnoDrawPagesAccess::getCount() throw(uno::RuntimeException, std::exception) diff --git a/svx/source/unodraw/unoshcol.cxx b/svx/source/unodraw/unoshcol.cxx index d2849121475c..7ab047df4472 100644 --- a/svx/source/unodraw/unoshcol.cxx +++ b/svx/source/unodraw/unoshcol.cxx @@ -53,7 +53,6 @@ private: public: SvxShapeCollection() throw(); - virtual ~SvxShapeCollection() throw() override; // XInterface virtual void SAL_CALL release() throw() override; @@ -86,11 +85,6 @@ SvxShapeCollection::SvxShapeCollection() throw() { } - -SvxShapeCollection::~SvxShapeCollection() throw() -{ -} - // XInterface void SvxShapeCollection::release() throw() { diff --git a/svx/source/unodraw/unottabl.cxx b/svx/source/unodraw/unottabl.cxx index bf856ed22a95..f2f9f58a1e61 100644 --- a/svx/source/unodraw/unottabl.cxx +++ b/svx/source/unodraw/unottabl.cxx @@ -36,7 +36,6 @@ class SvxUnoTransGradientTable : public SvxUnoNameItemTable { public: explicit SvxUnoTransGradientTable( SdrModel* pModel ) throw(); - virtual ~SvxUnoTransGradientTable() throw() override; virtual NameOrIndex* createItem() const throw() override; @@ -53,10 +52,6 @@ SvxUnoTransGradientTable::SvxUnoTransGradientTable( SdrModel* pModel ) throw() { } -SvxUnoTransGradientTable::~SvxUnoTransGradientTable() throw() -{ -} - OUString SAL_CALL SvxUnoTransGradientTable::getImplementationName() throw( uno::RuntimeException, std::exception ) { return OUString("SvxUnoTransGradientTable"); diff --git a/svx/source/xml/xmleohlp.cxx b/svx/source/xml/xmleohlp.cxx index eaba0c99f22f..3bf4c0dfd4b2 100644 --- a/svx/source/xml/xmleohlp.cxx +++ b/svx/source/xml/xmleohlp.cxx @@ -73,7 +73,6 @@ class OutputStorageWrapper_Impl : public ::cppu::WeakImplHelper<XOutputStream> public: OutputStorageWrapper_Impl(); - virtual ~OutputStorageWrapper_Impl() override; // css::io::XOutputStream virtual void SAL_CALL writeBytes(const Sequence< sal_Int8 >& aData) throw(NotConnectedException, BufferSizeExceededException, RuntimeException, std::exception) override; @@ -92,10 +91,6 @@ OutputStorageWrapper_Impl::OutputStorageWrapper_Impl() xOut = new OOutputStreamWrapper( *pStream ); } -OutputStorageWrapper_Impl::~OutputStorageWrapper_Impl() -{ -} - SvStream *OutputStorageWrapper_Impl::GetStream() { if( bStreamClosed ) diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx index 6ac0f44d5701..597f3bcf0724 100644 --- a/svx/source/xml/xmlgrhlp.cxx +++ b/svx/source/xml/xmlgrhlp.cxx @@ -89,7 +89,6 @@ private: public: explicit SvXMLGraphicInputStream( const OUString& rGraphicId ); - virtual ~SvXMLGraphicInputStream() override; SvXMLGraphicInputStream(const SvXMLGraphicInputStream&) = delete; SvXMLGraphicInputStream& operator=(const SvXMLGraphicInputStream&) = delete; @@ -151,10 +150,6 @@ SvXMLGraphicInputStream::SvXMLGraphicInputStream( const OUString& rGraphicId ) } } -SvXMLGraphicInputStream::~SvXMLGraphicInputStream() -{ -} - sal_Int32 SAL_CALL SvXMLGraphicInputStream::readBytes( Sequence< sal_Int8 >& rData, sal_Int32 nBytesToRead ) throw( NotConnectedException, BufferSizeExceededException, RuntimeException, std::exception ) { diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx index 7e847fa675a6..23391317e81f 100644 --- a/svx/source/xml/xmlxtexp.cxx +++ b/svx/source/xml/xmlxtexp.cxx @@ -79,7 +79,6 @@ class SvxXMLColorEntryExporter : public SvxXMLTableEntryExporter { public: explicit SvxXMLColorEntryExporter( SvXMLExport& rExport ); - virtual ~SvxXMLColorEntryExporter() override; virtual void exportEntry( const OUString& rStrName, const Any& rValue ) override; }; @@ -88,7 +87,6 @@ class SvxXMLLineEndEntryExporter : public SvxXMLTableEntryExporter { public: explicit SvxXMLLineEndEntryExporter( SvXMLExport& rExport ); - virtual ~SvxXMLLineEndEntryExporter() override; virtual void exportEntry( const OUString& rStrName, const Any& rValue ) override; private: @@ -99,7 +97,6 @@ class SvxXMLDashEntryExporter : public SvxXMLTableEntryExporter { public: explicit SvxXMLDashEntryExporter( SvXMLExport& rExport ); - virtual ~SvxXMLDashEntryExporter() override; virtual void exportEntry( const OUString& rStrName, const Any& rValue ) override; @@ -111,7 +108,6 @@ class SvxXMLHatchEntryExporter : public SvxXMLTableEntryExporter { public: explicit SvxXMLHatchEntryExporter( SvXMLExport& rExport ); - virtual ~SvxXMLHatchEntryExporter() override; virtual void exportEntry( const OUString& rStrName, const Any& rValue ) override; private: @@ -122,7 +118,6 @@ class SvxXMLGradientEntryExporter : public SvxXMLTableEntryExporter { public: explicit SvxXMLGradientEntryExporter( SvXMLExport& rExport ); - virtual ~SvxXMLGradientEntryExporter() override; virtual void exportEntry( const OUString& rStrName, const Any& rValue ) override; private: @@ -133,7 +128,6 @@ class SvxXMLBitmapEntryExporter : public SvxXMLTableEntryExporter { public: explicit SvxXMLBitmapEntryExporter( SvXMLExport& rExport ); - virtual ~SvxXMLBitmapEntryExporter() override; virtual void exportEntry( const OUString& rStrName, const Any& rValue ) override; }; @@ -428,10 +422,6 @@ SvxXMLColorEntryExporter::SvxXMLColorEntryExporter( SvXMLExport& rExport ) { } -SvxXMLColorEntryExporter::~SvxXMLColorEntryExporter() -{ -} - void SvxXMLColorEntryExporter::exportEntry( const OUString& rStrName, const Any& rValue ) { mrExport.AddAttribute( XML_NAMESPACE_DRAW, XML_NAME, rStrName ); @@ -452,10 +442,6 @@ SvxXMLLineEndEntryExporter::SvxXMLLineEndEntryExporter( SvXMLExport& rExport ) { } -SvxXMLLineEndEntryExporter::~SvxXMLLineEndEntryExporter() -{ -} - void SvxXMLLineEndEntryExporter::exportEntry( const OUString& rStrName, const Any& rValue ) { maMarkerStyle.exportXML( rStrName, rValue ); @@ -467,10 +453,6 @@ SvxXMLDashEntryExporter::SvxXMLDashEntryExporter( SvXMLExport& rExport ) { } -SvxXMLDashEntryExporter::~SvxXMLDashEntryExporter() -{ -} - void SvxXMLDashEntryExporter::exportEntry( const OUString& rStrName, const Any& rValue ) { maDashStyle.exportXML( rStrName, rValue ); @@ -482,10 +464,6 @@ SvxXMLHatchEntryExporter::SvxXMLHatchEntryExporter( SvXMLExport& rExport ) { } -SvxXMLHatchEntryExporter::~SvxXMLHatchEntryExporter() -{ -} - void SvxXMLHatchEntryExporter::exportEntry( const OUString& rStrName, const Any& rValue ) { maHatchStyle.exportXML( rStrName, rValue ); @@ -497,10 +475,6 @@ SvxXMLGradientEntryExporter::SvxXMLGradientEntryExporter( SvXMLExport& rExport ) { } -SvxXMLGradientEntryExporter::~SvxXMLGradientEntryExporter() -{ -} - void SvxXMLGradientEntryExporter::exportEntry( const OUString& rStrName, const Any& rValue ) { maGradientStyle.exportXML( rStrName, rValue ); @@ -512,10 +486,6 @@ SvxXMLBitmapEntryExporter::SvxXMLBitmapEntryExporter( SvXMLExport& rExport ) { } -SvxXMLBitmapEntryExporter::~SvxXMLBitmapEntryExporter() -{ -} - void SvxXMLBitmapEntryExporter::exportEntry( const OUString& rStrName, const Any& rValue ) { XMLImageStyle::exportXML( rStrName, rValue, mrExport ); diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx index 186b00c520b0..e0db2a9d8a3c 100644 --- a/svx/source/xml/xmlxtimp.cxx +++ b/svx/source/xml/xmlxtimp.cxx @@ -73,7 +73,6 @@ class SvxXMLTableImportContext : public SvXMLImportContext public: SvxXMLTableImportContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference< XAttributeList >& xAttrList, SvxXMLTableImportContextEnum eContext, const uno::Reference< XNameContainer >& xTable, bool bOOoFormat ); - virtual ~SvxXMLTableImportContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< XAttributeList >& xAttrList ) override; @@ -98,10 +97,6 @@ SvxXMLTableImportContext::SvxXMLTableImportContext( SvXMLImport& rImport, sal_uI { } -SvxXMLTableImportContext::~SvxXMLTableImportContext() -{ -} - SvXMLImportContext *SvxXMLTableImportContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< XAttributeList >& rAttrList ) { if( XML_NAMESPACE_DRAW == nPrefix ) |