diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-02 11:14:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-02 11:14:23 +0100 |
commit | 0e513fdc44c36df54949628d7497345cff804f59 (patch) | |
tree | c4f3225ba7329f81d8471abfe16ed495866ce9ff /sw/source | |
parent | fcf042b2163c29cdd426c7947fd55937981162b3 (diff) |
loplugin:unnecessaryoverride (dtors) in sw
Change-Id: Ia54c3e8b8e307ddb89347e4471e2792d4097a96e
Diffstat (limited to 'sw/source')
38 files changed, 7 insertions, 269 deletions
diff --git a/sw/source/core/doc/CntntIdxStore.cxx b/sw/source/core/doc/CntntIdxStore.cxx index fafb771ab490..cb6fe9fd782e 100644 --- a/sw/source/core/doc/CntntIdxStore.cxx +++ b/sw/source/core/doc/CntntIdxStore.cxx @@ -170,7 +170,7 @@ namespace RestoreUnoCursors(aUpdater); RestoreShellCursors(aUpdater); } - virtual ~ContentIdxStoreImpl() override {}; + private: inline void SaveBkmks(SwDoc* pDoc, sal_uLong nNode, sal_Int32 nContent); inline void RestoreBkmks(SwDoc* pDoc, updater_t& rUpdater); diff --git a/sw/source/core/docnode/finalthreadmanager.cxx b/sw/source/core/docnode/finalthreadmanager.cxx index 5a361668e9cd..288dc1a3914d 100644 --- a/sw/source/core/docnode/finalthreadmanager.cxx +++ b/sw/source/core/docnode/finalthreadmanager.cxx @@ -44,8 +44,6 @@ class CancelJobsThread : public osl::Thread { } - virtual ~CancelJobsThread() override {} - void addJobs( std::list< css::uno::Reference< css::util::XCancellable > >& rJobs ); bool allJobsCancelled() const; void stopWhenAllJobsCancelled(); @@ -159,7 +157,6 @@ class TerminateOfficeThread : public osl::Thread { } - virtual ~TerminateOfficeThread() override {} void StopOfficeTermination(); private: diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx index 4908cc9be9ed..2ce6cad6c38d 100644 --- a/sw/source/core/draw/dcontact.cxx +++ b/sw/source/core/draw/dcontact.cxx @@ -2002,8 +2002,6 @@ namespace sdr : ViewObjectContactOfSdrObj(rObjectContact, rViewContact) { } - - virtual ~VOCOfDrawVirtObj() override; }; class VCOfDrawVirtObj : public ViewContactOfVirtObj @@ -2022,7 +2020,6 @@ namespace sdr : ViewContactOfVirtObj(rObj) { } - virtual ~VCOfDrawVirtObj() override; /// access to SwDrawVirtObj SwDrawVirtObj& GetSwDrawVirtObj() const @@ -2129,18 +2126,11 @@ namespace sdr return xRetval; } - VOCOfDrawVirtObj::~VOCOfDrawVirtObj() - { - } - ViewObjectContact& VCOfDrawVirtObj::CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) { return *(new VOCOfDrawVirtObj(rObjectContact, *this)); } - VCOfDrawVirtObj::~VCOfDrawVirtObj() - { - } } // end of namespace contact } // end of namespace sdr diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx index 0a360cc5ac74..bd38e867c02e 100644 --- a/sw/source/core/draw/dflyobj.cxx +++ b/sw/source/core/draw/dflyobj.cxx @@ -92,7 +92,6 @@ namespace sdr : ViewContactOfSdrObj(rObj) { } - virtual ~VCOfSwFlyDrawObj() override; }; drawinglayer::primitive2d::Primitive2DContainer VCOfSwFlyDrawObj::createViewIndependentPrimitive2DSequence() const @@ -101,9 +100,6 @@ namespace sdr return drawinglayer::primitive2d::Primitive2DContainer(); } - VCOfSwFlyDrawObj::~VCOfSwFlyDrawObj() - { - } } // end of namespace contact } // end of namespace sdr @@ -265,7 +261,6 @@ namespace sdr : ViewContactOfVirtObj(rObj) { } - virtual ~VCOfSwVirtFlyDrawObj() override; /// access to SwVirtFlyDrawObj SwVirtFlyDrawObj& GetSwVirtFlyDrawObj() const @@ -305,9 +300,6 @@ namespace sdr return xRetval; } - VCOfSwVirtFlyDrawObj::~VCOfSwVirtFlyDrawObj() - { - } } // end of namespace contact } // end of namespace sdr diff --git a/sw/source/core/layout/dbg_lay.cxx b/sw/source/core/layout/dbg_lay.cxx index 8c61c12ddd91..03fca243050f 100644 --- a/sw/source/core/layout/dbg_lay.cxx +++ b/sw/source/core/layout/dbg_lay.cxx @@ -177,7 +177,7 @@ class SwSizeEnterLeave : public SwImplEnterLeave public: SwSizeEnterLeave( const SwFrame* pF, PROT nFunct, DbgAction nAct, void* pPar ) : SwImplEnterLeave( pF, nFunct, nAct, pPar ), nFrameHeight( pF->Frame().Height() ) {} - virtual ~SwSizeEnterLeave() override {} + virtual void Leave() override; // resize message }; @@ -187,7 +187,7 @@ class SwUpperEnterLeave : public SwImplEnterLeave public: SwUpperEnterLeave( const SwFrame* pF, PROT nFunct, DbgAction nAct, void* pPar ) : SwImplEnterLeave( pF, nFunct, nAct, pPar ), nFrameId( 0 ) {} - virtual ~SwUpperEnterLeave() override {} + virtual void Enter() override; // message virtual void Leave() override; // message of FrameId from upper }; @@ -198,7 +198,7 @@ class SwFrameChangesLeave : public SwImplEnterLeave public: SwFrameChangesLeave( const SwFrame* pF, PROT nFunct, DbgAction nAct, void* pPar ) : SwImplEnterLeave( pF, nFunct, nAct, pPar ), aFrame( pF->Frame() ) {} - virtual ~SwFrameChangesLeave() override {} + virtual void Enter() override; // no message virtual void Leave() override; // message when resizing the Frame area }; diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index a5471f7df4a9..34f2f2dc6e98 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -3127,9 +3127,6 @@ namespace : mrViewShell( rSh ) {}; - virtual ~SwViewObjectContactRedirector() override - {} - virtual drawinglayer::primitive2d::Primitive2DContainer createRedirectedPrimitive2DSequence( const sdr::contact::ViewObjectContact& rOriginal, const sdr::contact::DisplayInfo& rDisplayInfo) override diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx index 2ca0d18aec0b..a69d2e6535ec 100644 --- a/sw/source/core/ole/ndole.cxx +++ b/sw/source/core/ole/ndole.cxx @@ -151,7 +151,6 @@ class SwEmbedObjectLink : public sfx2::SvBaseLink public: explicit SwEmbedObjectLink(SwOLENode* pNode); - virtual ~SwEmbedObjectLink() override; virtual void Closed() override; virtual ::sfx2::SvBaseLink::UpdateResult DataChanged( @@ -167,10 +166,6 @@ SwEmbedObjectLink::SwEmbedObjectLink(SwOLENode* pNode): SetSynchron( false ); } -SwEmbedObjectLink::~SwEmbedObjectLink() -{ -} - ::sfx2::SvBaseLink::UpdateResult SwEmbedObjectLink::DataChanged( const OUString&, const uno::Any& ) { diff --git a/sw/source/core/swg/SwXMLBlockImport.cxx b/sw/source/core/swg/SwXMLBlockImport.cxx index b05d364ff4ea..2fae105f0862 100644 --- a/sw/source/core/swg/SwXMLBlockImport.cxx +++ b/sw/source/core/swg/SwXMLBlockImport.cxx @@ -51,7 +51,6 @@ private: public: SwXMLBlockListContext( SwXMLBlockListImport& rImport, sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ); - virtual ~SwXMLBlockListContext() override; virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) @@ -63,7 +62,6 @@ class SwXMLBlockContext : public SvXMLImportContext public: SwXMLBlockContext( SwXMLBlockListImport& rImport, sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ); - virtual ~SwXMLBlockContext() override; }; class SwXMLTextBlockDocumentContext : public SvXMLImportContext @@ -78,8 +76,6 @@ public: virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception) override; - - virtual ~SwXMLTextBlockDocumentContext() override; }; class SwXMLTextBlockBodyContext : public SvXMLImportContext @@ -94,8 +90,6 @@ public: virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( sal_Int32, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception) override; - - virtual ~SwXMLTextBlockBodyContext() override; }; class SwXMLTextBlockTextContext : public SvXMLImportContext @@ -111,8 +105,6 @@ public: sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception) override; - - virtual ~SwXMLTextBlockTextContext() override; }; class SwXMLTextBlockParContext : public SvXMLImportContext @@ -197,10 +189,6 @@ SwXMLBlockListContext::SwXMLBlockListContext( rImport.getBlockList().SetName( xAttrList->getValue( SwXMLBlockListToken::LIST_NAME ) ); } -SwXMLBlockListContext::~SwXMLBlockListContext() -{ -} - uno::Reference< ::xml::sax::XFastContextHandler > SAL_CALL SwXMLBlockListContext::createFastChildContext( sal_Int32 Element, const uno::Reference< xml::sax::XFastAttributeList > & xAttrList ) @@ -241,10 +229,6 @@ SwXMLBlockContext::SwXMLBlockContext( rImport.getBlockList().AddName( aShort, aLong, aPackageName, bTextOnly); } -SwXMLBlockContext::~SwXMLBlockContext() -{ -} - SwXMLTextBlockDocumentContext::SwXMLTextBlockDocumentContext( SwXMLTextBlockImport& rImport, sal_Int32 /*Element*/, @@ -265,10 +249,6 @@ SwXMLTextBlockDocumentContext::createFastChildContext( sal_Int32 Element, return new SvXMLImportContext( rLocalRef ); } -SwXMLTextBlockDocumentContext::~SwXMLTextBlockDocumentContext() -{ -} - SwXMLTextBlockTextContext::SwXMLTextBlockTextContext( SwXMLTextBlockImport& rImport, sal_Int32 /*Element*/, @@ -289,10 +269,6 @@ SwXMLTextBlockTextContext::createFastChildContext( sal_Int32 Element, return new SvXMLImportContext( rLocalRef ); } -SwXMLTextBlockTextContext::~SwXMLTextBlockTextContext() -{ -} - SwXMLTextBlockBodyContext::SwXMLTextBlockBodyContext( SwXMLTextBlockImport& rImport, sal_Int32 /*Element*/, @@ -315,10 +291,6 @@ SwXMLTextBlockBodyContext::createFastChildContext( sal_Int32 Element, return new SvXMLImportContext( rLocalRef ); } -SwXMLTextBlockBodyContext::~SwXMLTextBlockBodyContext() -{ -} - SwXMLTextBlockParContext::SwXMLTextBlockParContext( SwXMLTextBlockImport& rImport, sal_Int32 /*Element*/, diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx index 7161ac719b78..5585891ddfe3 100644 --- a/sw/source/core/text/xmldump.cxx +++ b/sw/source/core/text/xmldump.cxx @@ -107,10 +107,6 @@ class XmlPortionDumper:public SwPortionHandler { } - virtual ~ XmlPortionDumper( ) override - { - } - /** @param nLength length of this portion in the model string diff --git a/sw/source/core/txtnode/fntcap.cxx b/sw/source/core/txtnode/fntcap.cxx index 8e4cbd17c1c1..0afe25a166a6 100644 --- a/sw/source/core/txtnode/fntcap.cxx +++ b/sw/source/core/txtnode/fntcap.cxx @@ -400,8 +400,6 @@ public: nCapWidth( nCapitalWidth ), nOrgWidth( rInfo.GetWidth() ) { } - - virtual ~SwDoDrawStretchCapital() override {} }; void SwDoDrawStretchCapital::Do() diff --git a/sw/source/core/undo/unsect.cxx b/sw/source/core/undo/unsect.cxx index 8f12aa776d42..891f645bf861 100644 --- a/sw/source/core/undo/unsect.cxx +++ b/sw/source/core/undo/unsect.cxx @@ -288,8 +288,6 @@ public: SwUndoDelSection( SwSectionFormat const&, SwSection const&, SwNodeIndex const*const); - virtual ~SwUndoDelSection() override; - virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; }; @@ -315,10 +313,6 @@ SwUndoDelSection::SwUndoDelSection( { } -SwUndoDelSection::~SwUndoDelSection() -{ -} - void SwUndoDelSection::UndoImpl(::sw::UndoRedoContext & rContext) { SwDoc & rDoc = rContext.GetDoc(); @@ -396,8 +390,6 @@ public: SwUndoUpdateSection( SwSection const&, SwNodeIndex const*const, bool const bOnlyAttr); - virtual ~SwUndoUpdateSection() override; - virtual void UndoImpl( ::sw::UndoRedoContext & ) override; virtual void RedoImpl( ::sw::UndoRedoContext & ) override; }; @@ -420,10 +412,6 @@ SwUndoUpdateSection::SwUndoUpdateSection( { } -SwUndoUpdateSection::~SwUndoUpdateSection() -{ -} - void SwUndoUpdateSection::UndoImpl(::sw::UndoRedoContext & rContext) { SwDoc & rDoc = rContext.GetDoc(); diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index 33565d39033d..dbc5180899a4 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -956,7 +956,6 @@ class SwFrameProperties_Impl : public BaseFrameProperties_Impl { public: SwFrameProperties_Impl(); - virtual ~SwFrameProperties_Impl() override {} bool AnyToItemSet( SwDoc* pDoc, SfxItemSet& rFrameSet, SfxItemSet& rSet, bool& rSizeFound) override; }; @@ -1021,7 +1020,6 @@ class SwGraphicProperties_Impl : public BaseFrameProperties_Impl { public: SwGraphicProperties_Impl(); - virtual ~SwGraphicProperties_Impl() override {} virtual bool AnyToItemSet( SwDoc* pDoc, SfxItemSet& rFrameSet, SfxItemSet& rSet, bool& rSizeFound) override; }; @@ -1123,7 +1121,6 @@ class SwOLEProperties_Impl : public SwFrameProperties_Impl public: SwOLEProperties_Impl() : SwFrameProperties_Impl(/*aSwMapProvider.GetPropertyMap(PROPERTY_MAP_EMBEDDED_OBJECT)*/ ){} - virtual ~SwOLEProperties_Impl() override {} virtual bool AnyToItemSet( SwDoc* pDoc, SfxItemSet& rFrameSet, SfxItemSet& rSet, bool& rSizeFound) override; }; diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 382255ec854c..0615ff5857ec 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -197,8 +197,6 @@ namespace sw StartListening(*m_pBasePool); } - virtual ~XStyleFamily() override {}; - //XIndexAccess virtual sal_Int32 SAL_CALL getCount() throw( uno::RuntimeException, std::exception ) override { @@ -397,7 +395,6 @@ public: const OUString& rStyleName) : SwXStyle(&rPool, SfxStyleFamily::Frame, pDoc, rStyleName){} explicit SwXFrameStyle(SwDoc *pDoc); - virtual ~SwXFrameStyle() override; virtual void SAL_CALL acquire( ) throw() override {SwXStyle::acquire();} virtual void SAL_CALL release( ) throw() override {SwXStyle::release();} @@ -423,7 +420,6 @@ protected: public: SwXPageStyle(SfxStyleSheetBasePool& rPool, SwDocShell* pDocSh, const OUString& rStyleName); explicit SwXPageStyle(SwDocShell* pDocSh); - virtual ~SwXPageStyle() override; virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; @@ -2799,9 +2795,6 @@ SwXPageStyle::SwXPageStyle(SwDocShell* pDocSh) : SwXStyle(pDocSh->GetDoc(), SfxStyleFamily::Page) { } -SwXPageStyle::~SwXPageStyle() -{ } - void SwXStyle::PutItemToSet(const SvxSetItem* pSetItem, const SfxItemPropertySet& rPropSet, const SfxItemPropertySimpleEntry& rEntry, const uno::Any& rVal, SwStyleBase_Impl& rBaseImpl) { // create a new SvxSetItem and get it's ItemSet as new target @@ -3298,9 +3291,6 @@ SwXFrameStyle::SwXFrameStyle(SwDoc *pDoc) : SwXStyle(pDoc, SfxStyleFamily::Frame, false) { } -SwXFrameStyle::~SwXFrameStyle() -{ } - void SwXFrameStyle::SetItem(enum RES_FRMATR eAtr, const SfxPoolItem& rItem) { SfxStyleSheetBase* pBase = GetStyleSheetBase(); diff --git a/sw/source/filter/html/htmlform.cxx b/sw/source/filter/html/htmlform.cxx index 532efa47ea09..9160240dd896 100644 --- a/sw/source/filter/html/htmlform.cxx +++ b/sw/source/filter/html/htmlform.cxx @@ -372,7 +372,6 @@ class SwHTMLImageWatcher : public: SwHTMLImageWatcher( const uno::Reference< drawing::XShape > & rShape, bool bWidth, bool bHeight ); - virtual ~SwHTMLImageWatcher() override; // startProduction darf nicht im Konstruktor gerufen werden, weil // wir und ggf. selbst zerstoeren ... Deshlab eine eigene Methode. @@ -435,10 +434,6 @@ SwHTMLImageWatcher::SwHTMLImageWatcher( xSrc->getImageProducer()->addConsumer( xThis ); } -SwHTMLImageWatcher::~SwHTMLImageWatcher() -{ -} - void SwHTMLImageWatcher::clear() { // Am Shape als Event-Listener abmelden diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx index d5d5736b6cd4..94e4dc9e7435 100644 --- a/sw/source/filter/html/htmltab.cxx +++ b/sw/source/filter/html/htmltab.cxx @@ -2953,7 +2953,6 @@ public: HTMLTable *m_pTable; explicit SectionSaveStruct( SwHTMLParser& rParser ); - virtual ~SectionSaveStruct() override; #if OSL_DEBUG_LEVEL > 0 size_t GetContextStAttrMin() const { return m_nContextStAttrMinSave; } @@ -2985,9 +2984,6 @@ SectionSaveStruct::SectionSaveStruct( SwHTMLParser& rParser ) : rParser.m_nDefListDeep = 0; } -SectionSaveStruct::~SectionSaveStruct() -{} - void SectionSaveStruct::Restore( SwHTMLParser& rParser ) { // Font-Stacks wieder auftauen @@ -4726,13 +4722,8 @@ public: // Die alte Numerierung wieder aufspannen rParser.GetNumInfo().Set( aNumRuleInfo ); } - - virtual ~CaptionSaveStruct() override; }; -CaptionSaveStruct::~CaptionSaveStruct() -{} - void SwHTMLParser::BuildTableCaption( HTMLTable *pCurTable ) { // <CAPTION> wurde bereits gelesen @@ -4932,17 +4923,12 @@ public: m_pCurrentTable( pCurTable ) {} - virtual ~TableSaveStruct() override; - // Aufbau der Tabelle anstossen und die Tabelle ggf. in einen // Rahmen packen. Wenn true zurueckgegeben wird muss noch ein // Absatz eingefuegt werden! void MakeTable( sal_uInt16 nWidth, SwPosition& rPos, SwDoc *pDoc ); }; -TableSaveStruct::~TableSaveStruct() -{} - void TableSaveStruct::MakeTable( sal_uInt16 nWidth, SwPosition& rPos, SwDoc *pDoc ) { m_pCurrentTable->MakeTable(nullptr, nWidth); diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx index 80dedfb8fb54..5e31a3c3bb63 100644 --- a/sw/source/filter/ww8/rtfexport.cxx +++ b/sw/source/filter/ww8/rtfexport.cxx @@ -1314,7 +1314,7 @@ private: public: SwRTFWriter(const OUString& rFilterName, const OUString& rBaseURL); - ~SwRTFWriter() override; + sal_uLong WriteStream() override; }; @@ -1325,8 +1325,6 @@ SwRTFWriter::SwRTFWriter(const OUString& rFltName, const OUString& rBaseURL) m_bOutOutlineOnly = rFltName.startsWith("O"); } -SwRTFWriter::~SwRTFWriter() = default; - sal_uLong SwRTFWriter::WriteStream() { SwPaM aPam(*pCurPam->End(), *pCurPam->Start()); diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 4bc3a346f6cf..dffd69106798 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -457,7 +457,7 @@ struct SBBItem public: Sttb(); - virtual ~Sttb() override; + bool Read(SvStream &rS) override; #if OSL_DEBUG_LEVEL > 1 virtual void Print( FILE* fp ) override; @@ -472,10 +472,6 @@ Sttb::Sttb() { } -Sttb::~Sttb() -{ -} - bool Sttb::Read( SvStream& rS ) { SAL_INFO("sw.ww8", "stream pos " << rS.Tell()); diff --git a/sw/source/filter/xml/xmlfmt.cxx b/sw/source/filter/xml/xmlfmt.cxx index b65cb0dc525b..dd792d307a30 100644 --- a/sw/source/filter/xml/xmlfmt.cxx +++ b/sw/source/filter/xml/xmlfmt.cxx @@ -203,8 +203,6 @@ public: SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference< xml::sax::XAttributeList > & xAttrList ); - virtual ~SwXMLConditionContext_Impl() override; - bool IsValid() const { return 0 != nCondition; } }; @@ -247,11 +245,6 @@ SwXMLConditionContext_Impl::SwXMLConditionContext_Impl( } } -SwXMLConditionContext_Impl::~SwXMLConditionContext_Impl() -{ -} - - typedef std::vector<rtl::Reference<SwXMLConditionContext_Impl>> SwXMLConditions_Impl; class SwXMLTextStyleContext_Impl : public XMLTextStyleContext @@ -662,7 +655,6 @@ public: const OUString& rLName , const uno::Reference< xml::sax::XAttributeList > & xAttrList, bool bAuto ); - virtual ~SwXMLStylesContext_Impl() override; virtual bool InsertStyleFamily( sal_uInt16 nFamily ) const override; @@ -766,10 +758,6 @@ SwXMLStylesContext_Impl::SwXMLStylesContext_Impl( { } -SwXMLStylesContext_Impl::~SwXMLStylesContext_Impl() -{ -} - bool SwXMLStylesContext_Impl::InsertStyleFamily( sal_uInt16 nFamily ) const { const SwXMLImport& rSwImport = GetSwImport(); @@ -870,7 +858,7 @@ public: SwXMLImport& rImport, const OUString& rLName , const uno::Reference< xml::sax::XAttributeList > & xAttrList ); - virtual ~SwXMLMasterStylesContext_Impl() override; + virtual void EndElement() override; }; @@ -883,10 +871,6 @@ SwXMLMasterStylesContext_Impl::SwXMLMasterStylesContext_Impl( { } -SwXMLMasterStylesContext_Impl::~SwXMLMasterStylesContext_Impl() -{ -} - bool SwXMLMasterStylesContext_Impl::InsertStyleFamily( sal_uInt16 nFamily ) const { bool bIns; diff --git a/sw/source/filter/xml/xmlfmte.cxx b/sw/source/filter/xml/xmlfmte.cxx index 5bdfba1f4892..7429a27cc954 100644 --- a/sw/source/filter/xml/xmlfmte.cxx +++ b/sw/source/filter/xml/xmlfmte.cxx @@ -263,7 +263,6 @@ protected: public: explicit SwXMLAutoStylePoolP( SvXMLExport& rExport ); - virtual ~SwXMLAutoStylePoolP() override; }; void SwXMLAutoStylePoolP::exportStyleAttributes( @@ -328,10 +327,6 @@ SwXMLAutoStylePoolP::SwXMLAutoStylePoolP(SvXMLExport& rExp ) : { } -SwXMLAutoStylePoolP::~SwXMLAutoStylePoolP() -{ -} - SvXMLAutoStylePoolP* SwXMLExport::CreateAutoStylePool() { return new SwXMLAutoStylePoolP( *this ); diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx index 1197184014e2..aa7d63bc2f13 100644 --- a/sw/source/filter/xml/xmlimp.cxx +++ b/sw/source/filter/xml/xmlimp.cxx @@ -123,8 +123,6 @@ public: SwXMLBodyContext_Impl( SwXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const Reference< xml::sax::XAttributeList > & xAttrList ); - virtual ~SwXMLBodyContext_Impl() override; - virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -138,11 +136,6 @@ SwXMLBodyContext_Impl::SwXMLBodyContext_Impl( SwXMLImport& rImport, { } -SwXMLBodyContext_Impl::~SwXMLBodyContext_Impl() -{ -} - - SvXMLImportContext *SwXMLBodyContext_Impl::CreateChildContext( sal_uInt16 /*nPrefix*/, const OUString& rLocalName, @@ -166,8 +159,6 @@ public: SwXMLDocContext_Impl( SwXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const Reference< xml::sax::XAttributeList > & xAttrList ); - virtual ~SwXMLDocContext_Impl() override; - virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -181,11 +172,6 @@ SwXMLDocContext_Impl::SwXMLDocContext_Impl( SwXMLImport& rImport, { } -SwXMLDocContext_Impl::~SwXMLDocContext_Impl() -{ -} - - SvXMLImportContext *SwXMLDocContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -254,8 +240,6 @@ public: const OUString& rLName, const Reference< xml::sax::XAttributeList > & xAttrList, const Reference< document::XDocumentProperties >& xDocProps); - virtual ~SwXMLOfficeDocContext_Impl() override; - virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, @@ -275,11 +259,6 @@ SwXMLOfficeDocContext_Impl::SwXMLOfficeDocContext_Impl( { } -SwXMLOfficeDocContext_Impl::~SwXMLOfficeDocContext_Impl() -{ -} - - SvXMLImportContext* SwXMLOfficeDocContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -316,8 +295,6 @@ public: sal_uInt16 nPrfx, const OUString& rLName, const Reference< xml::sax::XAttributeList > & xAttrList ); - virtual ~SwXMLDocStylesContext_Impl() override; - virtual void EndElement() override; }; @@ -332,11 +309,6 @@ SwXMLDocStylesContext_Impl::SwXMLDocStylesContext_Impl( { } -SwXMLDocStylesContext_Impl::~SwXMLDocStylesContext_Impl() -{ -} - - void SwXMLDocStylesContext_Impl::EndElement() { // assign paragraph styles to list levels of outline style after all styles diff --git a/sw/source/filter/xml/xmliteme.cxx b/sw/source/filter/xml/xmliteme.cxx index fdb699b471b6..5db0f19592c4 100644 --- a/sw/source/filter/xml/xmliteme.cxx +++ b/sw/source/filter/xml/xmliteme.cxx @@ -68,8 +68,6 @@ public: SvXMLItemMapEntriesRef rMapEntries, SwXMLExport& rExp ); - virtual ~SwXMLTableItemMapper_Impl() override; - virtual void handleSpecialItem( SvXMLAttributeList& rAttrList, const SvXMLItemMapEntry& rEntry, const SfxPoolItem& rItem, @@ -97,10 +95,6 @@ SwXMLTableItemMapper_Impl::SwXMLTableItemMapper_Impl( { } -SwXMLTableItemMapper_Impl::~SwXMLTableItemMapper_Impl() -{ -} - void SwXMLTableItemMapper_Impl::AddAttribute( sal_uInt16 nPrefix, enum XMLTokenEnum eLName, const OUString& rValue, diff --git a/sw/source/filter/xml/xmlitemi.cxx b/sw/source/filter/xml/xmlitemi.cxx index f13405ab6e3a..c03be01fd940 100644 --- a/sw/source/filter/xml/xmlitemi.cxx +++ b/sw/source/filter/xml/xmlitemi.cxx @@ -63,7 +63,6 @@ class SwXMLImportTableItemMapper_Impl: public SvXMLImportItemMapper public: explicit SwXMLImportTableItemMapper_Impl(SvXMLItemMapEntriesRef rMapEntries); - virtual ~SwXMLImportTableItemMapper_Impl() override; virtual bool handleSpecialItem( const SvXMLItemMapEntry& rEntry, SfxPoolItem& rItem, @@ -99,10 +98,6 @@ SwXMLImportTableItemMapper_Impl::SwXMLImportTableItemMapper_Impl( Reset(); } -SwXMLImportTableItemMapper_Impl::~SwXMLImportTableItemMapper_Impl() -{ -} - void SwXMLImportTableItemMapper_Impl::Reset() { m_FoMarginValue.clear(); diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index 05d0d15f4e35..89cc3c5363d0 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -426,8 +426,6 @@ public: const Reference< xml::sax::XAttributeList > & xAttrList, SwXMLTableContext *pTable ); - virtual ~SwXMLTableCellContext_Impl() override; - virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< xml::sax::XAttributeList > & xAttrList ) override; @@ -570,10 +568,6 @@ SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl( } } -SwXMLTableCellContext_Impl::~SwXMLTableCellContext_Impl() -{ -} - inline void SwXMLTableCellContext_Impl::InsertContent_() { SwStartNode const*const pStartNode( GetTable()->InsertTableSection(nullptr, @@ -740,8 +734,6 @@ public: const Reference< xml::sax::XAttributeList > & xAttrList, SwXMLTableContext *pTable ); - virtual ~SwXMLTableColContext_Impl() override; - SwXMLImport& GetSwImport() { return static_cast<SwXMLImport&>(GetImport()); } }; @@ -808,10 +800,6 @@ SwXMLTableColContext_Impl::SwXMLTableColContext_Impl( } } -SwXMLTableColContext_Impl::~SwXMLTableColContext_Impl() -{ -} - class SwXMLTableColsContext_Impl : public SvXMLImportContext { SvXMLImportContextRef xMyTable; @@ -826,8 +814,6 @@ public: const Reference< xml::sax::XAttributeList > & xAttrList, SwXMLTableContext *pTable ); - virtual ~SwXMLTableColsContext_Impl() override; - virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< xml::sax::XAttributeList > & xAttrList ) override; @@ -844,10 +830,6 @@ SwXMLTableColsContext_Impl::SwXMLTableColsContext_Impl( { } -SwXMLTableColsContext_Impl::~SwXMLTableColsContext_Impl() -{ -} - SvXMLImportContext *SwXMLTableColsContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -883,8 +865,6 @@ public: const Reference< xml::sax::XAttributeList > & xAttrList, SwXMLTableContext *pTable, bool bInHead=false ); - virtual ~SwXMLTableRowContext_Impl() override; - virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< xml::sax::XAttributeList > & xAttrList ) override; @@ -956,10 +936,6 @@ void SwXMLTableRowContext_Impl::EndElement() } } -SwXMLTableRowContext_Impl::~SwXMLTableRowContext_Impl() -{ -} - SvXMLImportContext *SwXMLTableRowContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< xml::sax::XAttributeList > & xAttrList ) @@ -1004,8 +980,6 @@ public: SwXMLTableContext *pTable, bool bHead ); - virtual ~SwXMLTableRowsContext_Impl() override; - virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< xml::sax::XAttributeList > & xAttrList ) override; @@ -1025,10 +999,6 @@ SwXMLTableRowsContext_Impl::SwXMLTableRowsContext_Impl( SwXMLImport& rImport, { } -SwXMLTableRowsContext_Impl::~SwXMLTableRowsContext_Impl() -{ -} - SvXMLImportContext *SwXMLTableRowsContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -1064,8 +1034,6 @@ public: SwXMLDDETableContext_Impl( SwXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName); - virtual ~SwXMLDDETableContext_Impl() override; - virtual void StartElement( const Reference<xml::sax::XAttributeList> & xAttrList) override; @@ -1088,10 +1056,6 @@ SwXMLDDETableContext_Impl::SwXMLDDETableContext_Impl( { } -SwXMLDDETableContext_Impl::~SwXMLDDETableContext_Impl() -{ -} - void SwXMLDDETableContext_Impl::StartElement( const Reference<xml::sax::XAttributeList> & xAttrList) { diff --git a/sw/source/filter/xml/xmltext.cxx b/sw/source/filter/xml/xmltext.cxx index 8b4e15e36e6a..14257d6f81b7 100644 --- a/sw/source/filter/xml/xmltext.cxx +++ b/sw/source/filter/xml/xmltext.cxx @@ -31,7 +31,6 @@ class SwXMLBodyContentContext_Impl : public SvXMLImportContext public: SwXMLBodyContentContext_Impl( SwXMLImport& rImport, const OUString& rLName ); - virtual ~SwXMLBodyContentContext_Impl() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -48,10 +47,6 @@ SwXMLBodyContentContext_Impl::SwXMLBodyContentContext_Impl( SwXMLImport& rImport { } -SwXMLBodyContentContext_Impl::~SwXMLBodyContentContext_Impl() -{ -} - SvXMLImportContext *SwXMLBodyContentContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< xml::sax::XAttributeList > & xAttrList ) diff --git a/sw/source/ui/dbui/mmoutputtypepage.cxx b/sw/source/ui/dbui/mmoutputtypepage.cxx index 5e42b2f8b973..aa84a12849f1 100644 --- a/sw/source/ui/dbui/mmoutputtypepage.cxx +++ b/sw/source/ui/dbui/mmoutputtypepage.cxx @@ -139,7 +139,6 @@ class SwMailDispatcherListener_Impl : public IMailDispatcherListener public: explicit SwMailDispatcherListener_Impl(SwSendMailDialog& rParentDlg); - virtual ~SwMailDispatcherListener_Impl() override; virtual void started(::rtl::Reference<MailDispatcher> xMailDispatcher) override; virtual void stopped(::rtl::Reference<MailDispatcher> xMailDispatcher) override; @@ -157,10 +156,6 @@ SwMailDispatcherListener_Impl::SwMailDispatcherListener_Impl(SwSendMailDialog& r { } -SwMailDispatcherListener_Impl::~SwMailDispatcherListener_Impl() -{ -} - void SwMailDispatcherListener_Impl::started(::rtl::Reference<MailDispatcher> /*xMailDispatcher*/) { } diff --git a/sw/source/ui/envelp/mailmrge.cxx b/sw/source/ui/envelp/mailmrge.cxx index 5ee023d9b18a..9074bbc53ce9 100644 --- a/sw/source/ui/envelp/mailmrge.cxx +++ b/sw/source/ui/envelp/mailmrge.cxx @@ -89,7 +89,6 @@ class SwXSelChgLstnr_Impl : public cppu::WeakImplHelper SwMailMergeDlg& rParent; public: explicit SwXSelChgLstnr_Impl(SwMailMergeDlg& rParentDlg); - virtual ~SwXSelChgLstnr_Impl() override; virtual void SAL_CALL selectionChanged( const EventObject& aEvent ) throw (RuntimeException, std::exception) override; virtual void SAL_CALL disposing( const EventObject& Source ) throw (RuntimeException, std::exception) override; @@ -99,9 +98,6 @@ SwXSelChgLstnr_Impl::SwXSelChgLstnr_Impl(SwMailMergeDlg& rParentDlg) : rParent(rParentDlg) {} -SwXSelChgLstnr_Impl::~SwXSelChgLstnr_Impl() -{} - void SwXSelChgLstnr_Impl::selectionChanged( const EventObject& ) throw (RuntimeException, std::exception) { //call the parent to enable selection mode diff --git a/sw/source/ui/vba/vbacells.cxx b/sw/source/ui/vba/vbacells.cxx index 3bb791ce40f6..2e36a33b18e8 100644 --- a/sw/source/ui/vba/vbacells.cxx +++ b/sw/source/ui/vba/vbacells.cxx @@ -66,7 +66,6 @@ public: CellCollectionHelper( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::text::XTextTable >& xTextTable, sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom ) throw ( css::uno::RuntimeException ): mxParent( xParent ), mxContext( xContext ), mxTextTable( xTextTable ), mnLeft( nLeft ), mnTop( nTop ), mnRight( nRight ), mnBottom( nBottom ) { } - virtual ~CellCollectionHelper() override {} virtual sal_Int32 SAL_CALL getCount( ) throw (uno::RuntimeException, std::exception) override { diff --git a/sw/source/ui/vba/vbaheadersfooters.cxx b/sw/source/ui/vba/vbaheadersfooters.cxx index 40892d3542e7..db97153c44a4 100644 --- a/sw/source/ui/vba/vbaheadersfooters.cxx +++ b/sw/source/ui/vba/vbaheadersfooters.cxx @@ -36,7 +36,6 @@ private: public: HeadersFootersIndexAccess( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< frame::XModel >& xModel, const uno::Reference< beans::XPropertySet >& xPageStyleProps, bool bHeader ) : mxParent( xParent ), mxContext( xContext ), mxModel( xModel ), mxPageStyleProps( xPageStyleProps ), mbHeader( bHeader ) {} - virtual ~HeadersFootersIndexAccess() override {} // XIndexAccess virtual sal_Int32 SAL_CALL getCount( ) throw (uno::RuntimeException, std::exception) override diff --git a/sw/source/ui/vba/vbapanes.cxx b/sw/source/ui/vba/vbapanes.cxx index 75108ffb6f0f..7a163fe21b38 100644 --- a/sw/source/ui/vba/vbapanes.cxx +++ b/sw/source/ui/vba/vbapanes.cxx @@ -33,7 +33,6 @@ private: public: PanesIndexAccess( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< frame::XModel >& xModel ) : mxParent( xParent ), mxContext( xContext ), mxModel( xModel ) {} - virtual ~PanesIndexAccess() override {} // XIndexAccess virtual sal_Int32 SAL_CALL getCount( ) throw (uno::RuntimeException, std::exception) override diff --git a/sw/source/ui/vba/vbasections.cxx b/sw/source/ui/vba/vbasections.cxx index 3b611ae525f6..ffc62b755284 100644 --- a/sw/source/ui/vba/vbasections.cxx +++ b/sw/source/ui/vba/vbasections.cxx @@ -88,8 +88,6 @@ public: mxSections.push_back( xPageProps ); } - virtual ~SectionCollectionHelper() override {} - // XIndexAccess virtual sal_Int32 SAL_CALL getCount( ) throw (uno::RuntimeException, std::exception) override { diff --git a/sw/source/ui/vba/vbatablesofcontents.cxx b/sw/source/ui/vba/vbatablesofcontents.cxx index 37deccecba6f..8a426e193253 100644 --- a/sw/source/ui/vba/vbatablesofcontents.cxx +++ b/sw/source/ui/vba/vbatablesofcontents.cxx @@ -75,8 +75,6 @@ public: } } - virtual ~TableOfContentsCollectionHelper() override {} - virtual sal_Int32 SAL_CALL getCount( ) throw (uno::RuntimeException, std::exception) override { return maToc.size(); diff --git a/sw/source/ui/vba/vbatabstops.cxx b/sw/source/ui/vba/vbatabstops.cxx index d9514d16ab71..f85426e835b9 100644 --- a/sw/source/ui/vba/vbatabstops.cxx +++ b/sw/source/ui/vba/vbatabstops.cxx @@ -79,8 +79,6 @@ public: mnTabStops = lcl_getTabStops( xParaProps ).getLength(); } - virtual ~TabStopCollectionHelper() override {} - virtual sal_Int32 SAL_CALL getCount( ) throw (uno::RuntimeException, std::exception) override { return mnTabStops; diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx index 398486cfc5c1..b7a15fc31f57 100644 --- a/sw/source/uibase/dbui/dbmgr.cxx +++ b/sw/source/uibase/dbui/dbmgr.cxx @@ -210,7 +210,6 @@ private: public: explicit SwConnectionDisposedListener_Impl(SwDBManager& rMgr); - virtual ~SwConnectionDisposedListener_Impl() override; void Dispose() { m_pDBManager = nullptr; } @@ -3069,10 +3068,6 @@ SwConnectionDisposedListener_Impl::SwConnectionDisposedListener_Impl(SwDBManager { } -SwConnectionDisposedListener_Impl::~SwConnectionDisposedListener_Impl() -{ -} - void SwConnectionDisposedListener_Impl::disposing( const lang::EventObject& rSource ) throw (uno::RuntimeException, std::exception) { diff --git a/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx b/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx index c2783bb3acc0..52317b1cdca6 100644 --- a/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx +++ b/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx @@ -50,10 +50,6 @@ public: { } - virtual ~MMCurrentEntryController() override - { - } - // XInterface virtual uno::Any SAL_CALL queryInterface(const uno::Type& aType) throw (uno::RuntimeException, std::exception) override { @@ -115,10 +111,6 @@ public: { } - virtual ~MMExcludeEntryController() override - { - } - // XInterface virtual uno::Any SAL_CALL queryInterface(const uno::Type& aType) throw (uno::RuntimeException, std::exception) override { diff --git a/sw/source/uibase/dbui/mmconfigitem.cxx b/sw/source/uibase/dbui/mmconfigitem.cxx index 9a82de33a73e..8ec681536569 100644 --- a/sw/source/uibase/dbui/mmconfigitem.cxx +++ b/sw/source/uibase/dbui/mmconfigitem.cxx @@ -155,7 +155,6 @@ class SwMailMergeConfigItem_Impl : public utl::ConfigItem public: SwMailMergeConfigItem_Impl(); - virtual ~SwMailMergeConfigItem_Impl() override; virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override; const Sequence< OUString> @@ -343,10 +342,6 @@ SwMailMergeConfigItem_Impl::SwMailMergeConfigItem_Impl() : } -SwMailMergeConfigItem_Impl::~SwMailMergeConfigItem_Impl() -{ -} - void SwMailMergeConfigItem_Impl::SetCurrentAddressBlockIndex( sal_Int32 nSet ) { if(m_aAddressBlocks.size() >= sal::static_int_cast<sal_uInt32, sal_Int32>(nSet)) diff --git a/sw/source/uibase/docvw/SidebarWinAcc.cxx b/sw/source/uibase/docvw/SidebarWinAcc.cxx index f62040527fdd..db28a18023da 100644 --- a/sw/source/uibase/docvw/SidebarWinAcc.cxx +++ b/sw/source/uibase/docvw/SidebarWinAcc.cxx @@ -43,9 +43,6 @@ class SidebarWinAccessibleContext : public VCLXAccessibleComponent rSidebarWin.SetAccessibleRole( css::accessibility::AccessibleRole::COMMENT ); } - virtual ~SidebarWinAccessibleContext() override - {} - void ChangeAnchor( const SwFrame* pAnchorFrame ) { osl::MutexGuard aGuard(maMutex); diff --git a/sw/source/uibase/ribbar/workctrl.cxx b/sw/source/uibase/ribbar/workctrl.cxx index 4107d35986e4..5b05a35581a2 100644 --- a/sw/source/uibase/ribbar/workctrl.cxx +++ b/sw/source/uibase/ribbar/workctrl.cxx @@ -360,7 +360,6 @@ public: SwZoomBox_Impl( vcl::Window* pParent, sal_uInt16 nSlot ); - virtual ~SwZoomBox_Impl() override; protected: virtual void Select() override; @@ -392,9 +391,6 @@ SwZoomBox_Impl::SwZoomBox_Impl(vcl::Window* pParent, sal_uInt16 nSlot) } -SwZoomBox_Impl::~SwZoomBox_Impl() -{} - void SwZoomBox_Impl::Select() { if ( !IsTravelSelect() ) diff --git a/sw/source/uibase/sidebar/SwPanelFactory.cxx b/sw/source/uibase/sidebar/SwPanelFactory.cxx index d1d85d1d5f22..a0a1a85593e4 100644 --- a/sw/source/uibase/sidebar/SwPanelFactory.cxx +++ b/sw/source/uibase/sidebar/SwPanelFactory.cxx @@ -60,7 +60,6 @@ private: public: SwPanelFactory(); - virtual ~SwPanelFactory() override; // XUIElementFactory css::uno::Reference<css::ui::XUIElement> SAL_CALL createUIElement( @@ -89,10 +88,6 @@ SwPanelFactory::SwPanelFactory() { } -SwPanelFactory::~SwPanelFactory() -{ -} - Reference<ui::XUIElement> SAL_CALL SwPanelFactory::createUIElement ( const OUString& rsResourceURL, const css::uno::Sequence<css::beans::PropertyValue>& rArguments) |