diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-26 10:54:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-26 10:06:49 +0000 |
commit | 788368633a19bb605fd36ae413d1d70bfc0de875 (patch) | |
tree | 8ad65d33e14f0372cbaee42d8c4fe0d02fd58a00 /sw | |
parent | fc68a2677006467455eb064c1ddc3666a660af7c (diff) |
loplugin: unnecessary destructor sw
Change-Id: I27dcd289177bd6a63f07d75fb3cfd5c14fa2ee9d
Reviewed-on: https://gerrit.libreoffice.org/33572
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
65 files changed, 2 insertions, 146 deletions
diff --git a/sw/inc/cellatr.hxx b/sw/inc/cellatr.hxx index 501744b047ad..36e0fc5e0f7c 100644 --- a/sw/inc/cellatr.hxx +++ b/sw/inc/cellatr.hxx @@ -54,7 +54,6 @@ class SwTableBoxFormula : public SfxPoolItem, public SwTableFormula public: SwTableBoxFormula( const OUString& rFormula ); - virtual ~SwTableBoxFormula() override {}; // "pure virtual methods" of SfxPoolItem virtual bool operator==( const SfxPoolItem& ) const override; diff --git a/sw/inc/htmltbl.hxx b/sw/inc/htmltbl.hxx index a6564a235288..e57dde9b7bed 100644 --- a/sw/inc/htmltbl.hxx +++ b/sw/inc/htmltbl.hxx @@ -141,8 +141,6 @@ public: SwHTMLTableLayoutColumn( sal_uInt16 nColWidthOpt, bool bRelColWidthOpt, bool bLBorder ); - ~SwHTMLTableLayoutColumn() {} - inline void MergeCellWidthOption( sal_uInt16 nWidth, bool bPrc ); inline void SetWidthOption( sal_uInt16 nWidth ); diff --git a/sw/inc/postithelper.hxx b/sw/inc/postithelper.hxx index 0c9fe92da682..74857a124585 100644 --- a/sw/inc/postithelper.hxx +++ b/sw/inc/postithelper.hxx @@ -128,10 +128,6 @@ public: { } - virtual ~SwAnnotationItem() override - { - } - virtual SwPosition GetAnchorPosition() const override; virtual bool UseElement() override; virtual const SwFormatField& GetFormatField() const override diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx index 6af436661c51..bd0908db2871 100644 --- a/sw/inc/section.hxx +++ b/sw/inc/section.hxx @@ -256,9 +256,6 @@ class SwSectionFrameMoveAndDeleteHint : public SfxHint , mbSaveContent( bSaveContent ) {} - virtual ~SwSectionFrameMoveAndDeleteHint() override - {} - bool IsSaveContent() const { return mbSaveContent; diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx index 84267374f050..6eeaf657628d 100644 --- a/sw/inc/swcrsr.hxx +++ b/sw/inc/swcrsr.hxx @@ -252,7 +252,6 @@ struct SwCursor_SavePos final nContent( rCursor.GetPoint()->nContent.GetIndex() ), pNext( nullptr ) {} - ~SwCursor_SavePos() {} DECL_FIXEDMEMPOOL_NEWDEL( SwCursor_SavePos ) }; diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index 681248d90317..217a65102d22 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -3258,7 +3258,6 @@ class IdleTask bool GetFlag(); IdleTask(); DECL_LINK( FlipFlag, Timer *, void ); - ~IdleTask() {} private: bool flag; Idle maIdle; diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx index be1054b3ee4f..10f6945a239f 100644 --- a/sw/source/core/access/accmap.cxx +++ b/sw/source/core/access/accmap.cxx @@ -666,7 +666,6 @@ class SwAccPreviewData public: SwAccPreviewData(); - ~SwAccPreviewData(); void Update( const SwAccessibleMap& rAccMap, const std::vector<PreviewPage*>& _rPreviewPages, @@ -695,10 +694,6 @@ SwAccPreviewData::SwAccPreviewData() : { } -SwAccPreviewData::~SwAccPreviewData() -{ -} - void SwAccPreviewData::Update( const SwAccessibleMap& rAccMap, const std::vector<PreviewPage*>& _rPreviewPages, const Fraction& _rScale, diff --git a/sw/source/core/access/textmarkuphelper.hxx b/sw/source/core/access/textmarkuphelper.hxx index 4c1a2f6223c2..642f4c75fccf 100644 --- a/sw/source/core/access/textmarkuphelper.hxx +++ b/sw/source/core/access/textmarkuphelper.hxx @@ -39,7 +39,6 @@ class SwTextMarkupHelper const SwTextNode& rTextNode ); SwTextMarkupHelper( const SwAccessiblePortionData& rPortionData, const SwWrongList& rTextMarkupList ); // #i108125# - ~SwTextMarkupHelper() {} /// @throws css::lang::IllegalArgumentException /// @throws css::uno::RuntimeException diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx index 5fc3b6f37dc3..7cef79e726a4 100644 --- a/sw/source/core/doc/doccomp.cxx +++ b/sw/source/core/doc/doccomp.cxx @@ -236,7 +236,6 @@ private: public: CompareSequence( CompareData& rD1, CompareData& rD2, const MovedData& rMD1, const MovedData& rMD2 ); - ~CompareSequence(); }; static void CountDifference( const CompareData& rData, sal_uLong* pCounts ); @@ -821,10 +820,6 @@ Compare::CompareSequence::CompareSequence( Compare( 0, rMD1.GetCount(), 0, rMD2.GetCount() ); } -Compare::CompareSequence::~CompareSequence() -{ -} - void Compare::CompareSequence::Compare( sal_uLong nStt1, sal_uLong nEnd1, sal_uLong nStt2, sal_uLong nEnd2 ) { diff --git a/sw/source/core/doc/htmltbl.cxx b/sw/source/core/doc/htmltbl.cxx index 68e592f29fb2..3cd3468ec796 100644 --- a/sw/source/core/doc/htmltbl.cxx +++ b/sw/source/core/doc/htmltbl.cxx @@ -63,7 +63,6 @@ class SwHTMLTableLayoutConstraints public: SwHTMLTableLayoutConstraints( sal_uLong nMin, sal_uLong nMax, sal_uInt16 nRow, sal_uInt16 nCol, sal_uInt16 nColSp ); - ~SwHTMLTableLayoutConstraints(); sal_uLong GetMinNoAlign() const { return nMinNoAlign; } sal_uLong GetMaxNoAlign() const { return nMaxNoAlign; } @@ -129,10 +128,6 @@ SwHTMLTableLayoutConstraints::SwHTMLTableLayoutConstraints( nMinNoAlign( nMin ), nMaxNoAlign( nMax ) {} -SwHTMLTableLayoutConstraints::~SwHTMLTableLayoutConstraints() -{ -} - SwHTMLTableLayoutConstraints *SwHTMLTableLayoutConstraints::InsertNext( SwHTMLTableLayoutConstraints *pNxt ) { diff --git a/sw/source/core/docnode/cancellablejob.hxx b/sw/source/core/docnode/cancellablejob.hxx index 518e31e4a7b2..6f6a051b8ce1 100644 --- a/sw/source/core/docnode/cancellablejob.hxx +++ b/sw/source/core/docnode/cancellablejob.hxx @@ -32,7 +32,6 @@ class CancellableJob : public ::cppu::WeakImplHelper<css::util::XCancellable> { public: explicit CancellableJob( const ::rtl::Reference< ObservableThread >& rThread ); - virtual ~CancellableJob() override {} // css::util::XCancellable: virtual void SAL_CALL cancel() throw (css::uno::RuntimeException, std::exception) override; diff --git a/sw/source/core/inc/DocumentDrawModelManager.hxx b/sw/source/core/inc/DocumentDrawModelManager.hxx index a11cafc1f3ec..ace32172a538 100644 --- a/sw/source/core/inc/DocumentDrawModelManager.hxx +++ b/sw/source/core/inc/DocumentDrawModelManager.hxx @@ -61,8 +61,6 @@ public: virtual bool Search(const SwPaM& rPaM, const SvxSearchItem& rSearchItem) override; - virtual ~DocumentDrawModelManager() override {} - private: DocumentDrawModelManager(DocumentDrawModelManager const&) = delete; diff --git a/sw/source/core/inc/DocumentExternalDataManager.hxx b/sw/source/core/inc/DocumentExternalDataManager.hxx index c18543742cd0..96e4c3c801f5 100644 --- a/sw/source/core/inc/DocumentExternalDataManager.hxx +++ b/sw/source/core/inc/DocumentExternalDataManager.hxx @@ -37,8 +37,6 @@ public: void setExternalData( ::sw::tExternalDataType eType, ::sw::tExternalDataPointer pPayload) override; ::sw::tExternalDataPointer getExternalData(::sw::tExternalDataType eType) override; - - virtual ~DocumentExternalDataManager() override {}; }; } diff --git a/sw/source/core/inc/SwXMLBlockExport.hxx b/sw/source/core/inc/SwXMLBlockExport.hxx index 020d44376886..5d7f8a1ab0c6 100644 --- a/sw/source/core/inc/SwXMLBlockExport.hxx +++ b/sw/source/core/inc/SwXMLBlockExport.hxx @@ -36,7 +36,6 @@ public: const OUString &rFileName, css::uno::Reference< css::xml::sax::XDocumentHandler> &rHandler); - virtual ~SwXMLBlockListExport() override {} sal_uInt32 exportDoc( enum ::xmloff::token::XMLTokenEnum eClass = ::xmloff::token::XML_TOKEN_INVALID ) override; void ExportAutoStyles_() override {} void ExportMasterStyles_ () override {} @@ -55,7 +54,6 @@ public: const OUString &rFileName, css::uno::Reference< css::xml::sax::XDocumentHandler> &rHandler); - virtual ~SwXMLTextBlockExport() override {} sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum /*eClass*/) override {return 0;} void exportDoc(const OUString & rText); void ExportAutoStyles_() override {} diff --git a/sw/source/core/inc/txmsrt.hxx b/sw/source/core/inc/txmsrt.hxx index 24716cca5d73..a028b04c865d 100644 --- a/sw/source/core/inc/txmsrt.hxx +++ b/sw/source/core/inc/txmsrt.hxx @@ -180,7 +180,6 @@ struct SwTOXIndex : public SwTOXSortTabBase SwTOXIndex( const SwTextNode&, const SwTextTOXMark*, SwTOIOptions nOptions, sal_uInt8 nKeyLevel, const SwTOXInternational& rIntl, const css::lang::Locale& rLocale ); - virtual ~SwTOXIndex() override {} virtual void FillText( SwTextNode& rNd, const SwIndex& rInsPos, sal_uInt16 nAuthField ) const override; virtual sal_uInt16 GetLevel() const override; @@ -198,7 +197,6 @@ struct SwTOXCustom : public SwTOXSortTabBase SwTOXCustom( const TextAndReading& rKey, sal_uInt16 nLevel, const SwTOXInternational& rIntl, const css::lang::Locale& rLocale ); - virtual ~SwTOXCustom() override {} virtual sal_uInt16 GetLevel() const override; virtual bool operator==( const SwTOXSortTabBase& ) override; @@ -218,7 +216,6 @@ struct SwTOXContent : public SwTOXSortTabBase { SwTOXContent( const SwTextNode&, const SwTextTOXMark*, const SwTOXInternational& rIntl ); - virtual ~SwTOXContent() override {} virtual void FillText( SwTextNode& rNd, const SwIndex& rInsPos, sal_uInt16 nAuthField ) const override; virtual sal_uInt16 GetLevel() const override; @@ -230,7 +227,6 @@ private: struct SwTOXPara : public SwTOXSortTabBase { SwTOXPara( const SwContentNode&, SwTOXElement, sal_uInt16 nLevel = FORM_ALPHA_DELIMITTER, const OUString& sSeqName = OUString() ); - virtual ~SwTOXPara() override {} void SetStartIndex(sal_Int32 nSet) { nStartIndex = nSet; } void SetEndIndex(sal_Int32 nSet) { nEndIndex = nSet; } @@ -252,7 +248,6 @@ private: struct SwTOXTable : public SwTOXSortTabBase { SwTOXTable( const SwContentNode& rNd ); - virtual ~SwTOXTable() override {} void SetLevel(sal_uInt16 nSet){nLevel = nSet;} @@ -274,7 +269,6 @@ private: public: SwTOXAuthority( const SwContentNode& rNd, SwFormatField& rField, const SwTOXInternational& rIntl ); - virtual ~SwTOXAuthority() override {} SwFormatField& GetFieldFormat() {return m_rField;} diff --git a/sw/source/core/layout/layouter.cxx b/sw/source/core/layout/layouter.cxx index 8e455c5894ab..f564d7ae4c0b 100644 --- a/sw/source/core/layout/layouter.cxx +++ b/sw/source/core/layout/layouter.cxx @@ -51,7 +51,6 @@ class SwEndnoter public: explicit SwEndnoter( SwLayouter* pLay ) : pMaster( pLay ), pSect( nullptr ) {} - ~SwEndnoter() {} void CollectEndnotes( SwSectionFrame* pSct ); void CollectEndnote( SwFootnoteFrame* pFootnote ); const SwSectionFrame* GetSect() const { return pSect; } diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx index f77c8a14d305..c2038745c6e7 100644 --- a/sw/source/core/table/swtable.cxx +++ b/sw/source/core/table/swtable.cxx @@ -2565,8 +2565,6 @@ public: { } - ~Impl() {} - void setTable(const SwTable * pTable) { m_pTable = pTable; diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx index 1e6027e6ca48..c2fa4eae3eee 100644 --- a/sw/source/core/text/frmpaint.cxx +++ b/sw/source/core/text/frmpaint.cxx @@ -79,7 +79,6 @@ public: SwExtraPainter( const SwTextFrame *pFrame, SwViewShell *pVwSh, const SwLineNumberInfo &rLnInf, const SwRect &rRct, sal_Int16 eHor, bool bLnNm ); - ~SwExtraPainter() {} inline SwFont* GetFont() const { return pFnt.get(); } inline void IncLineNr() { ++nLineNr; } inline bool HasNumber() { return !( nLineNr % rLineInf.GetCountBy() ); } diff --git a/sw/source/core/text/guess.hxx b/sw/source/core/text/guess.hxx index 83015503b6af..4b29b0902e86 100644 --- a/sw/source/core/text/guess.hxx +++ b/sw/source/core/text/guess.hxx @@ -40,7 +40,6 @@ public: inline SwTextGuess(): pHanging( nullptr ), nCutPos(0), nBreakStart(0), nBreakPos(0), nFieldDiff(0), nBreakWidth(0) { } - ~SwTextGuess() {} // true, if current portion still fits to current line bool Guess( const SwTextPortion& rPor, SwTextFormatInfo &rInf, diff --git a/sw/source/core/text/porfly.hxx b/sw/source/core/text/porfly.hxx index 1434b5e5289e..5e617a4ea8cc 100644 --- a/sw/source/core/text/porfly.hxx +++ b/sw/source/core/text/porfly.hxx @@ -61,7 +61,6 @@ public: void SetBase(const SwTextFrame& rFrame, const Point& rBase, long nLnAscent, long nLnDescent, long nFlyAscent, long nFlyDescent, AsCharFlags nFlags); virtual bool Format(SwTextFormatInfo& rInf) override; OUTPUT_OPERATOR_OVERRIDE - virtual ~SwFlyCntPortion() override {}; }; namespace sw diff --git a/sw/source/core/text/redlnitr.hxx b/sw/source/core/text/redlnitr.hxx index bb4cc708eede..1de12a16050c 100644 --- a/sw/source/core/text/redlnitr.hxx +++ b/sw/source/core/text/redlnitr.hxx @@ -44,7 +44,6 @@ class SwExtend public: SwExtend( const std::vector<ExtTextInputAttr> &rA, sal_Int32 nSt ) : rArr( rA ), nStart( nSt ), nPos( COMPLETE_STRING ), nEnd( nStart + rA.size() ) {} - ~SwExtend() {} bool IsOn() const { return pFnt != nullptr; } void Reset() { pFnt.reset(); nPos = COMPLETE_STRING; } bool Leave( SwFont& rFnt, sal_Int32 nNew ) diff --git a/sw/source/core/text/txtdrop.cxx b/sw/source/core/text/txtdrop.cxx index 7f3621304b58..2410f6c9572e 100644 --- a/sw/source/core/text/txtdrop.cxx +++ b/sw/source/core/text/txtdrop.cxx @@ -648,7 +648,6 @@ class SwDropCapCache sal_uInt16 nIndex; public: SwDropCapCache(); - ~SwDropCapCache(){} void CalcFontSize( SwDropPortion* pDrop, SwTextFormatInfo &rInf ); }; diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx index 3804958cd55b..51083e2b9ec2 100644 --- a/sw/source/core/undo/untbl.cxx +++ b/sw/source/core/undo/untbl.cxx @@ -117,7 +117,6 @@ class SaveTable public: SaveTable( const SwTable& rTable, sal_uInt16 nLnCnt = USHRT_MAX, bool bSaveFormula = true ); - ~SaveTable(); sal_uInt16 AddFormat( SwFrameFormat* pFormat, bool bIsLine ); void NewFrameFormat( const SwTableLine* , const SwTableBox*, sal_uInt16 nFormatPos, @@ -887,10 +886,6 @@ SaveTable::SaveTable( const SwTable& rTable, sal_uInt16 nLnCnt, bool bSaveFormul m_pSwTable = nullptr; } -SaveTable::~SaveTable() -{ -} - sal_uInt16 SaveTable::AddFormat( SwFrameFormat* pFormat, bool bIsLine ) { size_t nRet = m_aFrameFormats.GetPos(pFormat); diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 53852a4b0987..9e8c758266f9 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -1115,8 +1115,6 @@ public: explicit SwStyleProperties_Impl(const SfxItemPropertyMap& rMap) : aPropertyEntries(rMap.getPropertyEntries()) { } - ~SwStyleProperties_Impl() - { } bool AllowsKey(const OUString& rName) { diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index 1fa5f23b555d..2d9132ef3c67 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -1812,7 +1812,6 @@ class SwTableProperties_Impl SwUnoCursorHelper::SwAnyMapHelper aAnyMap; public: SwTableProperties_Impl(); - ~SwTableProperties_Impl(); void SetProperty(sal_uInt16 nWhichId, sal_uInt16 nMemberId, const uno::Any& aVal); bool GetProperty(sal_uInt16 nWhichId, sal_uInt16 nMemberId, const uno::Any*& rpAny); @@ -1825,9 +1824,6 @@ public: SwTableProperties_Impl::SwTableProperties_Impl() { } -SwTableProperties_Impl::~SwTableProperties_Impl() - { } - void SwTableProperties_Impl::SetProperty(sal_uInt16 nWhichId, sal_uInt16 nMemberId, const uno::Any& rVal) { aAnyMap.SetValue( nWhichId, nMemberId, rVal ); } diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx index a9b9eccf1554..2e2e92c75590 100644 --- a/sw/source/filter/html/htmlatr.cxx +++ b/sw/source/filter/html/htmlatr.cxx @@ -215,16 +215,10 @@ struct SwHTMLTextCollOutputInfo bOutDiv( false ) {} - ~SwHTMLTextCollOutputInfo(); - bool HasParaToken() const { return aToken.getLength()==1 && aToken[0]=='P'; } bool ShouldOutputToken() const { return bOutPara || !HasParaToken(); } }; -SwHTMLTextCollOutputInfo::~SwHTMLTextCollOutputInfo() -{ -} - SwHTMLFormatInfo::SwHTMLFormatInfo( const SwFormat *pF, SwDoc *pDoc, SwDoc *pTemplate, bool bOutStyles, LanguageType eDfltLang, @@ -1030,7 +1024,6 @@ class HTMLStartEndPos public: HTMLStartEndPos( const SfxPoolItem& rItem, sal_Int32 nStt, sal_Int32 nE ); - ~HTMLStartEndPos(); const SfxPoolItem *GetItem() const { return pItem.get(); } @@ -1048,10 +1041,6 @@ HTMLStartEndPos::HTMLStartEndPos( const SfxPoolItem& rItem, sal_Int32 nStt, pItem( rItem.Clone() ) {} -HTMLStartEndPos::~HTMLStartEndPos() -{ -} - typedef std::vector<HTMLStartEndPos *> HTMLStartEndPositions; enum HTMLOnOffState { HTML_NOT_SUPPORTED, // unsupported Attribute diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx index 712e74103e12..8de1d9ebcf48 100644 --- a/sw/source/filter/html/htmltab.cxx +++ b/sw/source/filter/html/htmltab.cxx @@ -137,8 +137,6 @@ public: memset( &aAttrTab, 0, sizeof( HTMLAttrTable )); } - ~HTMLTableContext(); - void SetNumInfo( const SwHTMLNumRuleInfo& rInf ) { aNumRuleInfo.Set(rInf); } const SwHTMLNumRuleInfo& GetNumInfo() const { return aNumRuleInfo; }; @@ -2713,10 +2711,6 @@ void HTMLTable::MakeParentContents() } } -HTMLTableContext::~HTMLTableContext() -{ -} - void HTMLTableContext::SavePREListingXMP( SwHTMLParser& rParser ) { bRestartPRE = rParser.IsReadPRE(); diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx index d0cb168dc060..e7e209e8c52b 100644 --- a/sw/source/filter/writer/writer.cxx +++ b/sw/source/filter/writer/writer.cxx @@ -68,7 +68,6 @@ struct Writer_Impl SwBookmarkNodeTable aBkmkNodePos; Writer_Impl(); - ~Writer_Impl(); void RemoveFontList( SwDoc& rDoc ); void InsertBkmk( const ::sw::mark::IMark& rBkmk ); @@ -79,10 +78,6 @@ Writer_Impl::Writer_Impl() { } -Writer_Impl::~Writer_Impl() -{ -} - void Writer_Impl::RemoveFontList( SwDoc& rDoc ) { for( std::vector<const SvxFontItem*>::const_iterator it = aFontRemoveLst.begin(); diff --git a/sw/source/filter/ww8/WW8TableInfo.hxx b/sw/source/filter/ww8/WW8TableInfo.hxx index f5db223db764..a74f69c86e85 100644 --- a/sw/source/filter/ww8/WW8TableInfo.hxx +++ b/sw/source/filter/ww8/WW8TableInfo.hxx @@ -128,8 +128,6 @@ public: { } - ~CellInfo() {} - bool operator < (const CellInfo & aCellInfo) const; long top() const { return m_aRect.Top(); } diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx index 79e5d450a2c9..43a05d26f5be 100644 --- a/sw/source/filter/ww8/docxsdrexport.cxx +++ b/sw/source/filter/ww8/docxsdrexport.cxx @@ -170,8 +170,6 @@ struct DocxSdrExport::Impl { } - ~Impl() = default; - /// Writes wp wrapper code around an SdrObject, which itself is written using drawingML syntax. void textFrameShadow(const SwFrameFormat& rFrameFormat); diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index 447e3c0e3a36..994a7b111ab7 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -332,16 +332,11 @@ class WW8_WrtFactoids public: WW8_WrtFactoids(); - ~WW8_WrtFactoids(); void Append(WW8_CP nStartCp, WW8_CP nEndCp, const std::map<OUString, OUString>& rStatements); void Write(WW8Export& rWrt); -} -; -WW8_WrtFactoids::WW8_WrtFactoids() -{ -} +}; -WW8_WrtFactoids::~WW8_WrtFactoids() +WW8_WrtFactoids::WW8_WrtFactoids() { } diff --git a/sw/source/filter/ww8/ww8attributeoutput.hxx b/sw/source/filter/ww8/ww8attributeoutput.hxx index 22229fd93cf7..4136de0ab9f2 100644 --- a/sw/source/filter/ww8/ww8attributeoutput.hxx +++ b/sw/source/filter/ww8/ww8attributeoutput.hxx @@ -469,8 +469,6 @@ public: { } - virtual ~WW8AttributeOutput() override {} - /// Return the right export class. virtual WW8Export& GetExport() override { return m_rWW8Export; } diff --git a/sw/source/filter/ww8/ww8toolbar.hxx b/sw/source/filter/ww8/ww8toolbar.hxx index e98f664032e3..2482b4636763 100644 --- a/sw/source/filter/ww8/ww8toolbar.hxx +++ b/sw/source/filter/ww8/ww8toolbar.hxx @@ -86,7 +86,6 @@ class TBDelta : public TBBase public: TBDelta(); - virtual ~TBDelta() override {} bool Read(SvStream &rS) override; #if OSL_DEBUG_LEVEL > 1 virtual void Print( FILE* ) override; @@ -109,7 +108,6 @@ protected: public: explicit Tcg255SubStruct(); - virtual ~Tcg255SubStruct() override {} sal_uInt8 id() const { return ch; } bool Read(SvStream &rS) override; }; @@ -222,7 +220,6 @@ class Acd : public TBBase public: Acd(); - virtual ~Acd() override {} bool Read(SvStream &rS) override; #if OSL_DEBUG_LEVEL > 1 virtual void Print( FILE* ) override; @@ -316,7 +313,6 @@ class TcgSttbf : public Tcg255SubStruct public: explicit TcgSttbf(); - virtual ~TcgSttbf() override {} bool Read(SvStream &rS) override; #if OSL_DEBUG_LEVEL > 1 virtual void Print( FILE* fp ) override; @@ -333,7 +329,6 @@ class Xstz : public TBBase public: Xstz(); - virtual ~Xstz() override {} bool Read(SvStream &rS) override; #if OSL_DEBUG_LEVEL > 1 virtual void Print( FILE* fp ) override; @@ -349,7 +344,6 @@ class MacroName : public TBBase public: MacroName(); - virtual ~MacroName() override {} bool Read(SvStream &rS) override; #if OSL_DEBUG_LEVEL > 1 virtual void Print( FILE* ) override; @@ -399,7 +393,6 @@ class Tcg: public TBBase public: Tcg(); - virtual ~Tcg() override {} bool Read(SvStream &rS) override; bool ImportCustomToolBar( SfxObjectShell& rDocSh ); #if OSL_DEBUG_LEVEL > 1 diff --git a/sw/source/filter/xml/XMLRedlineImportHelper.cxx b/sw/source/filter/xml/XMLRedlineImportHelper.cxx index 9a47127c0ce5..9459928901e2 100644 --- a/sw/source/filter/xml/XMLRedlineImportHelper.cxx +++ b/sw/source/filter/xml/XMLRedlineImportHelper.cxx @@ -83,7 +83,6 @@ class XTextRangeOrNodeIndexPosition public: XTextRangeOrNodeIndexPosition(); - ~XTextRangeOrNodeIndexPosition(); void Set( Reference<XTextRange> & rRange ); void Set( SwNodeIndex& rIndex ); @@ -101,10 +100,6 @@ XTextRangeOrNodeIndexPosition::XTextRangeOrNodeIndexPosition() : { } -XTextRangeOrNodeIndexPosition::~XTextRangeOrNodeIndexPosition() -{ -} - void XTextRangeOrNodeIndexPosition::Set( Reference<XTextRange> & rRange ) { xRange = rRange->getStart(); // set bookmark diff --git a/sw/source/filter/xml/xmltble.cxx b/sw/source/filter/xml/xmltble.cxx index 41eee95e590b..e8b4278a2ff1 100644 --- a/sw/source/filter/xml/xmltble.cxx +++ b/sw/source/filter/xml/xmltble.cxx @@ -112,8 +112,6 @@ public: explicit SwXMLTableLines_Impl( const SwTableLines& rLines ); - ~SwXMLTableLines_Impl() {} - sal_uInt32 GetWidth() const { return nWidth; } const SwTableLines *GetLines() const { return pLines; } diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index 89cc3c5363d0..a163632373f9 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -303,7 +303,6 @@ public: SwXMLTableRow_Impl( const OUString& rStyleName, sal_uInt32 nCells, const OUString *pDfltCellStyleName = nullptr, const OUString& i_rXmlId = OUString() ); - ~SwXMLTableRow_Impl() {} inline SwXMLTableCell_Impl *GetCell( sal_uInt32 nCol ); diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx index ff693e87a033..b4487598e7fa 100644 --- a/sw/source/ui/dbui/dbinsdlg.cxx +++ b/sw/source/ui/dbui/dbinsdlg.cxx @@ -175,8 +175,6 @@ struct DB_ColumnConfigData bIsTable = bIsHeadlineOn = true; bIsField = bIsEmptyHeadln = false; } - - ~DB_ColumnConfigData(); }; bool SwInsDBColumn::operator<( const SwInsDBColumn& rCmp ) const @@ -1499,8 +1497,6 @@ void SwInsertDBColAutoPilot::SetTabSet() rSh.MoveTable( GotoCurrTable, fnTableStart ); } -DB_ColumnConfigData::~DB_ColumnConfigData() {} - static Sequence<OUString> lcl_createSourceNames(const OUString& rNodeName) { Sequence<OUString> aSourceNames(11); diff --git a/sw/source/ui/vba/vbaaddins.hxx b/sw/source/ui/vba/vbaaddins.hxx index bdbc949f2448..624aaea2404f 100644 --- a/sw/source/ui/vba/vbaaddins.hxx +++ b/sw/source/ui/vba/vbaaddins.hxx @@ -30,7 +30,6 @@ class SwVbaAddins : public SwVbaAddins_BASE public: /// @throws css::uno::RuntimeException SwVbaAddins( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext ) throw (css::uno::RuntimeException); - virtual ~SwVbaAddins() override {} // XEnumerationAccess virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override; diff --git a/sw/source/ui/vba/vbaautotextentry.hxx b/sw/source/ui/vba/vbaautotextentry.hxx index 29cf0ff2c550..ff249b327f26 100644 --- a/sw/source/ui/vba/vbaautotextentry.hxx +++ b/sw/source/ui/vba/vbaautotextentry.hxx @@ -53,7 +53,6 @@ class SwVbaAutoTextEntries : public SwVbaAutoTextEntries_BASE public: /// @throws css::uno::RuntimeException SwVbaAutoTextEntries( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::container::XIndexAccess >& xIndexAccess ) throw (css::uno::RuntimeException); - virtual ~SwVbaAutoTextEntries() override {} // XEnumerationAccess virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override; diff --git a/sw/source/ui/vba/vbabookmarks.hxx b/sw/source/ui/vba/vbabookmarks.hxx index 19e18ab1a388..234223277e87 100644 --- a/sw/source/ui/vba/vbabookmarks.hxx +++ b/sw/source/ui/vba/vbabookmarks.hxx @@ -42,7 +42,6 @@ private: public: SwVbaBookmarks( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::container::XIndexAccess >& xBookmarks, const css::uno::Reference< css::frame::XModel >& xModel ); - virtual ~SwVbaBookmarks() override {} /// @throws css::uno::RuntimeException static void addBookmarkByName( const css::uno::Reference< css::frame::XModel >& xModel, const OUString& rName, const css::uno::Reference< css::text::XTextRange >& rTextRange ) throw (css::uno::RuntimeException); diff --git a/sw/source/ui/vba/vbaborders.hxx b/sw/source/ui/vba/vbaborders.hxx index 67c4e53b1ba4..faf2d6ebd311 100644 --- a/sw/source/ui/vba/vbaborders.hxx +++ b/sw/source/ui/vba/vbaborders.hxx @@ -34,7 +34,6 @@ class SwVbaBorders : public SwVbaBorders_BASE css::uno::Reference< css::beans::XPropertySet > m_xProps; public: SwVbaBorders( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::table::XCellRange >& xRange, VbaPalette& rPalette ); - virtual ~SwVbaBorders() override {} // XEnumerationAccess virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override; diff --git a/sw/source/ui/vba/vbacells.hxx b/sw/source/ui/vba/vbacells.hxx index adfcb163f2d9..3d3c4f8d49d0 100644 --- a/sw/source/ui/vba/vbacells.hxx +++ b/sw/source/ui/vba/vbacells.hxx @@ -36,7 +36,6 @@ private: public: /// @throws css::uno::RuntimeException SwVbaCells( 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 ); - virtual ~SwVbaCells() override {} // Attributes virtual ::sal_Int32 SAL_CALL getWidth() throw (css::uno::RuntimeException, std::exception) override; diff --git a/sw/source/ui/vba/vbacolumns.hxx b/sw/source/ui/vba/vbacolumns.hxx index 0439d84c13a6..6fe9cd31d7e0 100644 --- a/sw/source/ui/vba/vbacolumns.hxx +++ b/sw/source/ui/vba/vbacolumns.hxx @@ -44,7 +44,6 @@ public: SwVbaColumns( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::text::XTextTable >& xTextTable, const css::uno::Reference< css::table::XTableColumns >& xTableColumns ) throw ( css::uno::RuntimeException ); /// @throws css::uno::RuntimeException SwVbaColumns( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::text::XTextTable >& xTextTable, const css::uno::Reference< css::table::XTableColumns >& xTableColumns, sal_Int32 nStartCol, sal_Int32 nEndCol ) throw ( css::uno::RuntimeException ); - virtual ~SwVbaColumns() override {} virtual sal_Int32 SAL_CALL getWidth( ) throw (css::uno::RuntimeException, std::exception) override; virtual void SAL_CALL setWidth( sal_Int32 _width ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/sw/source/ui/vba/vbadialog.hxx b/sw/source/ui/vba/vbadialog.hxx index e4021aaeaf8b..ef961d2e0cf0 100644 --- a/sw/source/ui/vba/vbadialog.hxx +++ b/sw/source/ui/vba/vbadialog.hxx @@ -30,7 +30,6 @@ class SwVbaDialog : public SwVbaDialog_BASE { public: SwVbaDialog( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::frame::XModel >& xModel, sal_Int32 nIndex ):SwVbaDialog_BASE( xParent, xContext, xModel, nIndex ) {} - virtual ~SwVbaDialog() override {} // Methods virtual OUString mapIndexToName( sal_Int32 nIndex ) override; diff --git a/sw/source/ui/vba/vbadialogs.hxx b/sw/source/ui/vba/vbadialogs.hxx index 069abbbf5dae..c01134cd102c 100644 --- a/sw/source/ui/vba/vbadialogs.hxx +++ b/sw/source/ui/vba/vbadialogs.hxx @@ -32,7 +32,6 @@ class SwVbaDialogs : public SwVbaDialogs_BASE { public: SwVbaDialogs( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::frame::XModel >& xModel ): SwVbaDialogs_BASE( xParent, xContext, xModel ) {} - virtual ~SwVbaDialogs() override {} // XCollection virtual css::uno::Any SAL_CALL Item( const css::uno::Any& Index ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/sw/source/ui/vba/vbadocuments.hxx b/sw/source/ui/vba/vbadocuments.hxx index 05a8c207cef5..ac5280a33a33 100644 --- a/sw/source/ui/vba/vbadocuments.hxx +++ b/sw/source/ui/vba/vbadocuments.hxx @@ -32,7 +32,6 @@ class SwVbaDocuments : public SwVbaDocuments_BASE { public: SwVbaDocuments( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~SwVbaDocuments() override {} // XEnumerationAccess virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override; diff --git a/sw/source/ui/vba/vbafield.cxx b/sw/source/ui/vba/vbafield.cxx index 4263eb158f27..af1e1be2d9f7 100644 --- a/sw/source/ui/vba/vbafield.cxx +++ b/sw/source/ui/vba/vbafield.cxx @@ -80,7 +80,6 @@ private: OUString aFieldName; public: explicit SwVbaReadFieldParams( const OUString& rData ); - ~SwVbaReadFieldParams(); long SkipToNextToken(); @@ -113,10 +112,6 @@ SwVbaReadFieldParams::SwVbaReadFieldParams( const OUString& _rData ) aFieldName = aData.copy( 0, nFnd ); } -SwVbaReadFieldParams::~SwVbaReadFieldParams() -{ -} - OUString SwVbaReadFieldParams::GetResult() const { return (-1 == nFnd) diff --git a/sw/source/ui/vba/vbafont.hxx b/sw/source/ui/vba/vbafont.hxx index 0a24b2e87cb1..e12b12447369 100644 --- a/sw/source/ui/vba/vbafont.hxx +++ b/sw/source/ui/vba/vbafont.hxx @@ -31,7 +31,6 @@ class SwVbaFont : public SwVbaFont_BASE public: /// @throws css::uno::RuntimeException SwVbaFont( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::container::XIndexAccess >& xPalette, css::uno::Reference< css::beans::XPropertySet > const & xPropertySet ) throw ( css::uno::RuntimeException ); - virtual ~SwVbaFont() override {} // Attributes virtual void SAL_CALL setColorIndex( const css::uno::Any& _colorindex ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/sw/source/ui/vba/vbaframes.hxx b/sw/source/ui/vba/vbaframes.hxx index e1887f80030a..4ef3ff1b5a14 100644 --- a/sw/source/ui/vba/vbaframes.hxx +++ b/sw/source/ui/vba/vbaframes.hxx @@ -34,7 +34,6 @@ private: public: SwVbaFrames( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::container::XIndexAccess >& xFrames, const css::uno::Reference< css::frame::XModel >& xModel ); - virtual ~SwVbaFrames() override {} // XEnumerationAccess virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override; diff --git a/sw/source/ui/vba/vbaheaderfooter.hxx b/sw/source/ui/vba/vbaheaderfooter.hxx index d8ce89e37e17..42e5295b16c9 100644 --- a/sw/source/ui/vba/vbaheaderfooter.hxx +++ b/sw/source/ui/vba/vbaheaderfooter.hxx @@ -36,7 +36,6 @@ private: public: /// @throws css::uno::RuntimeException SwVbaHeaderFooter( const css::uno::Reference< ooo::vba::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, const css::uno::Reference< css::frame::XModel >& xModel, const css::uno::Reference< css::beans::XPropertySet >& xProps, bool isHeader, sal_Int32 index ) throw ( css::uno::RuntimeException ); - virtual ~SwVbaHeaderFooter() override {} // Attributes virtual sal_Bool SAL_CALL getIsHeader() throw (css::uno::RuntimeException, std::exception) override; diff --git a/sw/source/ui/vba/vbaheadersfooters.hxx b/sw/source/ui/vba/vbaheadersfooters.hxx index 9137721ec26d..bd9477e73ccb 100644 --- a/sw/source/ui/vba/vbaheadersfooters.hxx +++ b/sw/source/ui/vba/vbaheadersfooters.hxx @@ -34,7 +34,6 @@ private: public: SwVbaHeadersFooters( const css::uno::Reference< ooo::vba::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, const css::uno::Reference< css::frame::XModel >& xModel, const css::uno::Reference< css::beans::XPropertySet >& xProps, bool isHeader ); - virtual ~SwVbaHeadersFooters() override {} virtual ::sal_Int32 SAL_CALL getCount() throw (css::uno::RuntimeException) override; virtual css::uno::Any SAL_CALL Item( const css::uno::Any& Index1, const css::uno::Any& ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException) override; diff --git a/sw/source/ui/vba/vbalistgalleries.hxx b/sw/source/ui/vba/vbalistgalleries.hxx index 4b09498e54d1..d26ed1407720 100644 --- a/sw/source/ui/vba/vbalistgalleries.hxx +++ b/sw/source/ui/vba/vbalistgalleries.hxx @@ -34,7 +34,6 @@ private: public: /// @throws css::uno::RuntimeException SwVbaListGalleries( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::text::XTextDocument >& xTextDoc ) throw (css::uno::RuntimeException); - virtual ~SwVbaListGalleries() override {} virtual ::sal_Int32 SAL_CALL getCount() throw (css::uno::RuntimeException) override; virtual css::uno::Any SAL_CALL Item( const css::uno::Any& Index1, const css::uno::Any& /*not processed in this base class*/ ) throw ( css::uno::RuntimeException ) override; diff --git a/sw/source/ui/vba/vbalistlevels.hxx b/sw/source/ui/vba/vbalistlevels.hxx index dfd9e16759e7..d61d13fa0443 100644 --- a/sw/source/ui/vba/vbalistlevels.hxx +++ b/sw/source/ui/vba/vbalistlevels.hxx @@ -34,7 +34,6 @@ private: public: /// @throws css::uno::RuntimeException SwVbaListLevels( const css::uno::Reference< ooo::vba::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, SwVbaListHelperRef const & pHelper ) throw ( css::uno::RuntimeException ); - virtual ~SwVbaListLevels() override {} virtual ::sal_Int32 SAL_CALL getCount() throw (css::uno::RuntimeException) override; virtual css::uno::Any SAL_CALL Item( const css::uno::Any& Index1, const css::uno::Any& /*not processed in this base class*/ ) throw ( css::uno::RuntimeException ) override; diff --git a/sw/source/ui/vba/vbalisttemplates.hxx b/sw/source/ui/vba/vbalisttemplates.hxx index 1fdd7074889c..8dd0a3754090 100644 --- a/sw/source/ui/vba/vbalisttemplates.hxx +++ b/sw/source/ui/vba/vbalisttemplates.hxx @@ -35,7 +35,6 @@ private: public: /// @throws css::uno::RuntimeException SwVbaListTemplates( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::text::XTextDocument >& xTextDoc, sal_Int32 nType ) throw (css::uno::RuntimeException); - virtual ~SwVbaListTemplates() override {} virtual ::sal_Int32 SAL_CALL getCount() throw (css::uno::RuntimeException) override; virtual css::uno::Any SAL_CALL Item( const css::uno::Any& Index1, const css::uno::Any& /*not processed in this base class*/ ) throw ( css::uno::RuntimeException ) override; diff --git a/sw/source/ui/vba/vbapagesetup.hxx b/sw/source/ui/vba/vbapagesetup.hxx index 8fa12dd2717e..d51303d94f58 100644 --- a/sw/source/ui/vba/vbapagesetup.hxx +++ b/sw/source/ui/vba/vbapagesetup.hxx @@ -40,7 +40,6 @@ public: const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::frame::XModel >& xModel, const css::uno::Reference< css::beans::XPropertySet >& xProps ) throw (css::uno::RuntimeException); - virtual ~SwVbaPageSetup() override {} // Attributes virtual double SAL_CALL getGutter() throw (css::uno::RuntimeException, std::exception) override; diff --git a/sw/source/ui/vba/vbapanes.hxx b/sw/source/ui/vba/vbapanes.hxx index 489c6a2f90ed..2ee7ca287b4f 100644 --- a/sw/source/ui/vba/vbapanes.hxx +++ b/sw/source/ui/vba/vbapanes.hxx @@ -31,7 +31,6 @@ class SwVbaPanes : public SwVbaPanes_BASE { public: SwVbaPanes( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::frame::XModel >& xModel ); - virtual ~SwVbaPanes() override {} // XEnumerationAccess virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override; diff --git a/sw/source/ui/vba/vbaparagraph.hxx b/sw/source/ui/vba/vbaparagraph.hxx index 793631a31d67..ed3754b029c3 100644 --- a/sw/source/ui/vba/vbaparagraph.hxx +++ b/sw/source/ui/vba/vbaparagraph.hxx @@ -58,7 +58,6 @@ private: public: /// @throws css::uno::RuntimeException SwVbaParagraphs( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::text::XTextDocument >& xDocument ) throw (css::uno::RuntimeException); - virtual ~SwVbaParagraphs() override {} // XEnumerationAccess virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override; diff --git a/sw/source/ui/vba/vbarevisions.hxx b/sw/source/ui/vba/vbarevisions.hxx index 3b259d19efcc..ecadcd0caa6a 100644 --- a/sw/source/ui/vba/vbarevisions.hxx +++ b/sw/source/ui/vba/vbarevisions.hxx @@ -35,7 +35,6 @@ public: SwVbaRevisions( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::frame::XModel >& xModel, const css::uno::Reference< css::text::XTextRange >& xTextRange ); SwVbaRevisions( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::frame::XModel >& xModel, const css::uno::Reference< css::container::XIndexAccess >& xIndexAccess ); - virtual ~SwVbaRevisions() override {} // Methods virtual void SAL_CALL AcceptAll( ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/sw/source/ui/vba/vbarows.hxx b/sw/source/ui/vba/vbarows.hxx index 0ceae62fa9bc..23d1f5765d99 100644 --- a/sw/source/ui/vba/vbarows.hxx +++ b/sw/source/ui/vba/vbarows.hxx @@ -51,7 +51,6 @@ public: SwVbaRows( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::text::XTextTable >& xTextTable, const css::uno::Reference< css::table::XTableRows >& xTableRows ) throw ( css::uno::RuntimeException ); /// @throws css::uno::RuntimeException SwVbaRows( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::text::XTextTable >& xTextTable, const css::uno::Reference< css::table::XTableRows >& xTableRows, sal_Int32 nStarIndex, sal_Int32 nEndIndex ) throw ( css::uno::RuntimeException ); - virtual ~SwVbaRows() override {} // Attributes virtual ::sal_Int32 SAL_CALL getAlignment() throw (css::uno::RuntimeException, std::exception) override; diff --git a/sw/source/ui/vba/vbasections.hxx b/sw/source/ui/vba/vbasections.hxx index b2da9a8daade..46da02c1b281 100644 --- a/sw/source/ui/vba/vbasections.hxx +++ b/sw/source/ui/vba/vbasections.hxx @@ -36,7 +36,6 @@ private: public: SwVbaSections( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::frame::XModel >& xModel ); SwVbaSections( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::frame::XModel >& xModel, const css::uno::Reference< css::text::XTextRange >& xTextRange ); - virtual ~SwVbaSections() override {} // XEnumerationAccess virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override; diff --git a/sw/source/ui/vba/vbastyle.hxx b/sw/source/ui/vba/vbastyle.hxx index 8a7d68a38b39..61675c23895f 100644 --- a/sw/source/ui/vba/vbastyle.hxx +++ b/sw/source/ui/vba/vbastyle.hxx @@ -39,7 +39,6 @@ public: /// @throws css::script::BasicErrorException /// @throws css::uno::RuntimeException SwVbaStyle( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::frame::XModel >& xModel, const css::uno::Reference< css::beans::XPropertySet >& _xPropertySet ) throw ( css::script::BasicErrorException, css::uno::RuntimeException ); - virtual ~SwVbaStyle() override {} /// @throws css::uno::RuntimeException static void setStyle( const css::uno::Reference< css::beans::XPropertySet >& xParaProps, const css::uno::Any& xStyle ) throw (css::uno::RuntimeException); diff --git a/sw/source/ui/vba/vbatablehelper.hxx b/sw/source/ui/vba/vbatablehelper.hxx index 741aeea6f216..4888785edda0 100644 --- a/sw/source/ui/vba/vbatablehelper.hxx +++ b/sw/source/ui/vba/vbatablehelper.hxx @@ -42,7 +42,6 @@ private: public: /// @throws css::uno::RuntimeException explicit SwVbaTableHelper( const css::uno::Reference< css::text::XTextTable >& xTextTable ) throw (css::uno::RuntimeException); - ~SwVbaTableHelper() {} /// @throws css::uno::RuntimeException sal_Int32 getTabColumnsCount( sal_Int32 nRowIndex ) throw (css::uno::RuntimeException); /// @throws css::uno::RuntimeException diff --git a/sw/source/ui/vba/vbatablesofcontents.hxx b/sw/source/ui/vba/vbatablesofcontents.hxx index 0a2c6c796ccf..297fe8aa0e7b 100644 --- a/sw/source/ui/vba/vbatablesofcontents.hxx +++ b/sw/source/ui/vba/vbatablesofcontents.hxx @@ -36,7 +36,6 @@ private: public: /// @throws css::uno::RuntimeException SwVbaTablesOfContents( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::text::XTextDocument >& xDoc ) throw ( css::uno::RuntimeException ); - virtual ~SwVbaTablesOfContents() override {} // Methods virtual css::uno::Reference< ::ooo::vba::word::XTableOfContents > SAL_CALL Add( const css::uno::Reference< ::ooo::vba::word::XRange >& Range, const css::uno::Any& UseHeadingStyles, const css::uno::Any& UpperHeadingLevel, const css::uno::Any& LowerHeadingLevel, const css::uno::Any& UseFields, const css::uno::Any& TableID, const css::uno::Any& RightAlignPageNumbers, const css::uno::Any& IncludePageNumbers, const css::uno::Any& AddedStyles, const css::uno::Any& UseHyperlinks, const css::uno::Any& HidePageNumbersInWeb, const css::uno::Any& UseOutlineLevels ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/sw/source/ui/vba/vbatabstops.hxx b/sw/source/ui/vba/vbatabstops.hxx index 98c05a900221..c5b8994dfd05 100644 --- a/sw/source/ui/vba/vbatabstops.hxx +++ b/sw/source/ui/vba/vbatabstops.hxx @@ -36,7 +36,6 @@ private: public: /// @throws css::uno::RuntimeException SwVbaTabStops( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::beans::XPropertySet >& xParaProps ) throw ( css::uno::RuntimeException ); - virtual ~SwVbaTabStops() override {} // Methods virtual css::uno::Reference< ::ooo::vba::word::XTabStop > SAL_CALL Add( float Position, const css::uno::Any& Alignment, const css::uno::Any& Leader ) diff --git a/sw/source/ui/vba/vbavariables.hxx b/sw/source/ui/vba/vbavariables.hxx index 27fdf3c0c590..6a5652562658 100644 --- a/sw/source/ui/vba/vbavariables.hxx +++ b/sw/source/ui/vba/vbavariables.hxx @@ -35,7 +35,6 @@ private: public: SwVbaVariables( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::beans::XPropertyAccess >& rUserDefined ); - virtual ~SwVbaVariables() override {} // XEnumerationAccess virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override; |