diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-24 13:44:18 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-24 15:56:31 +0000 |
commit | c5df32e5cb6ef9727e566541d6cf29dbd5c32602 (patch) | |
tree | f48f227f44728bf23a5d686730b1df7e45d37fba | |
parent | d92b12604b644195328b89cb9355cd4fc4bc3e2d (diff) |
loplugin: unnecessary destructor jvmfwk..lotuswordpro
Change-Id: Iaa4f9b178ab265342255066af7fff09f5b33ab37
Reviewed-on: https://gerrit.libreoffice.org/33496
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
52 files changed, 0 insertions, 117 deletions
diff --git a/jvmfwk/source/framework.hxx b/jvmfwk/source/framework.hxx index 9d152c8243ca..8e433054fd3a 100644 --- a/jvmfwk/source/framework.hxx +++ b/jvmfwk/source/framework.hxx @@ -110,7 +110,6 @@ public: errorCode(err), message(msg) { } - virtual ~FrameworkException() throw () override {} javaFrameworkError errorCode; OString message; }; diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx index d04d85cf5a98..4e95a5f30ed4 100644 --- a/l10ntools/inc/export.hxx +++ b/l10ntools/inc/export.hxx @@ -246,10 +246,6 @@ class MergeDataHashMap { } - ~MergeDataHashMap() - { - } - typedef HashMap_t::iterator iterator; typedef HashMap_t::const_iterator const_iterator; diff --git a/l10ntools/inc/helpmerge.hxx b/l10ntools/inc/helpmerge.hxx index 89c85433d84f..f5af853a51d0 100644 --- a/l10ntools/inc/helpmerge.hxx +++ b/l10ntools/inc/helpmerge.hxx @@ -41,7 +41,6 @@ private: public: HelpParser( const OString &rHelpFile ); - ~HelpParser(){}; /// Method append a PO file with the content of a parsed XML file /// @PRECOND rHelpFile is valid diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx index 8329496402d2..6483dd19e972 100644 --- a/l10ntools/inc/xmlparse.hxx +++ b/l10ntools/inc/xmlparse.hxx @@ -98,7 +98,6 @@ protected: public: /// returns the parent of this node XMLParentNode *GetParent() { return m_pParent; } - virtual ~XMLChildNode() override {}; }; typedef std::vector< XMLChildNode* > XMLChildNodeList; diff --git a/libreofficekit/source/gtk/tilebuffer.hxx b/libreofficekit/source/gtk/tilebuffer.hxx index 64491ee3629e..4fab28dab891 100644 --- a/libreofficekit/source/gtk/tilebuffer.hxx +++ b/libreofficekit/source/gtk/tilebuffer.hxx @@ -100,8 +100,6 @@ class TileBuffer cairo_surface_destroy(pSurface); } - ~TileBuffer() {} - /** Gets the underlying Tile object for given position. The position (0, 0) points to the left top most tile of the buffer. diff --git a/linguistic/inc/iprcache.hxx b/linguistic/inc/iprcache.hxx index b311511f8f11..390ceda80d9f 100644 --- a/linguistic/inc/iprcache.hxx +++ b/linguistic/inc/iprcache.hxx @@ -58,7 +58,6 @@ class FlushListener : public: FlushListener( SpellCache& rFO ) : mrSpellCache(rFO) {} - virtual ~FlushListener() override {} void SetDicList( css::uno::Reference< css::linguistic2::XSearchableDictionaryList > &rDL ); void SetPropSet( css::uno::Reference< css::linguistic2::XLinguProperties > &rPS ); diff --git a/linguistic/source/convdicxml.hxx b/linguistic/source/convdicxml.hxx index c490fb71572b..3dd3182fcbe5 100644 --- a/linguistic/source/convdicxml.hxx +++ b/linguistic/source/convdicxml.hxx @@ -52,9 +52,6 @@ public: bSuccess ( false ) { } - virtual ~ConvDicXMLExport() override - { - } // SvXMLExport void ExportAutoStyles_() override {} @@ -89,10 +86,6 @@ public: nConversionType = -1; } - virtual ~ConvDicXMLImport() throw () override - { - } - virtual void SAL_CALL startDocument() throw( css::xml::sax::SAXException, css::uno::RuntimeException, std::exception ) override; virtual SvXMLImportContext * CreateContext( diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx index 4ceb55b16bcb..b8a3e7f6b507 100644 --- a/linguistic/source/misc.cxx +++ b/linguistic/source/misc.cxx @@ -129,7 +129,6 @@ private: public: IntArray2D( int nDim1, int nDim2 ); - ~IntArray2D(); sal_Int32 & Value( int i, int k ); }; @@ -141,10 +140,6 @@ IntArray2D::IntArray2D( int nDim1, int nDim2 ) pData.reset( new sal_Int32[n1 * n2] ); } -IntArray2D::~IntArray2D() -{ -} - sal_Int32 & IntArray2D::Value( int i, int k ) { assert( (0 <= i && i < n1) && "first index out of range" ); diff --git a/lotuswordpro/source/filter/LotusWordProImportFilter.hxx b/lotuswordpro/source/filter/LotusWordProImportFilter.hxx index 68bbed3cafca..acd446b6d820 100644 --- a/lotuswordpro/source/filter/LotusWordProImportFilter.hxx +++ b/lotuswordpro/source/filter/LotusWordProImportFilter.hxx @@ -58,7 +58,6 @@ public: : mxContext( rxContext ) { } - virtual ~LotusWordProImportFilter() override {} // XFilter virtual sal_Bool SAL_CALL filter( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor ) diff --git a/lotuswordpro/source/filter/lwp9reader.hxx b/lotuswordpro/source/filter/lwp9reader.hxx index 9cc92bc682da..3d1ac4bb1a0a 100644 --- a/lotuswordpro/source/filter/lwp9reader.hxx +++ b/lotuswordpro/source/filter/lwp9reader.hxx @@ -69,7 +69,6 @@ class Lwp9Reader { public: Lwp9Reader(LwpSvStream* InputStream, IXFStream* pStream); - ~Lwp9Reader(){} private: LwpSvStream* m_pDocStream; IXFStream* m_pStream; diff --git a/lotuswordpro/source/filter/lwpbackgroundoverride.hxx b/lotuswordpro/source/filter/lwpbackgroundoverride.hxx index fb38be6b22f2..dc025d61fec4 100644 --- a/lotuswordpro/source/filter/lwpbackgroundoverride.hxx +++ b/lotuswordpro/source/filter/lwpbackgroundoverride.hxx @@ -65,7 +65,6 @@ class LwpBackgroundOverride : public LwpOverride public: LwpBackgroundOverride(){} - virtual ~LwpBackgroundOverride() override {} virtual LwpBackgroundOverride* clone() const override; diff --git a/lotuswordpro/source/filter/lwpbasetype.hxx b/lotuswordpro/source/filter/lwpbasetype.hxx index 7060b239a7ed..71b8a7ed41ee 100644 --- a/lotuswordpro/source/filter/lwpbasetype.hxx +++ b/lotuswordpro/source/filter/lwpbasetype.hxx @@ -84,7 +84,6 @@ public: , m_nXHeight(0) { } - ~LwpPanoseNumber(){} public: void Read(LwpObjectStream *pStrm); private: diff --git a/lotuswordpro/source/filter/lwpcharsetmgr.hxx b/lotuswordpro/source/filter/lwpcharsetmgr.hxx index 68a26e8a1cfb..5806a30ac8fd 100644 --- a/lotuswordpro/source/filter/lwpcharsetmgr.hxx +++ b/lotuswordpro/source/filter/lwpcharsetmgr.hxx @@ -68,7 +68,6 @@ class LwpCharSetMgr { public: LwpCharSetMgr(){SetCodePageMap();} - ~LwpCharSetMgr(){} static LwpCharSetMgr* GetInstance(); void SetCodePageMap(); rtl_TextEncoding GetTextCharEncoding(sal_uInt16 wordproCode); diff --git a/lotuswordpro/source/filter/lwpcolor.hxx b/lotuswordpro/source/filter/lwpcolor.hxx index 9c3469382ba4..fbc3a7214105 100644 --- a/lotuswordpro/source/filter/lwpcolor.hxx +++ b/lotuswordpro/source/filter/lwpcolor.hxx @@ -71,7 +71,6 @@ class LwpColor { public: LwpColor():m_nRed(0), m_nGreen(0), m_nBlue(0), m_nExtra(0){} - ~LwpColor(){} public: void Read(LwpObjectStream *pStrm); sal_uInt16 GetRed(); diff --git a/lotuswordpro/source/filter/lwpcontent.hxx b/lotuswordpro/source/filter/lwpcontent.hxx index 7c357fc17e00..2dd6cb6b8258 100644 --- a/lotuswordpro/source/filter/lwpcontent.hxx +++ b/lotuswordpro/source/filter/lwpcontent.hxx @@ -74,7 +74,6 @@ class LwpContent : public LwpDLNFVList { public: LwpContent(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - virtual ~LwpContent() override {} protected: LwpAssociatedLayouts m_LayoutsWithMe; sal_uInt16 m_nFlags; @@ -147,7 +146,6 @@ class LwpHeadContent : public LwpContent { public: LwpHeadContent(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - virtual ~LwpHeadContent() override {} protected: void Read() override; }; diff --git a/lotuswordpro/source/filter/lwpdlvlist.hxx b/lotuswordpro/source/filter/lwpdlvlist.hxx index 2c65eeeab83f..bf9063c0b150 100644 --- a/lotuswordpro/source/filter/lwpdlvlist.hxx +++ b/lotuswordpro/source/filter/lwpdlvlist.hxx @@ -150,7 +150,6 @@ class LwpDLVListHead { public: LwpDLVListHead(){} - ~LwpDLVListHead(){} void Read(LwpObjectStream* pObjStrm); LwpObjectID& GetFirst() { return m_objHead; } protected: diff --git a/lotuswordpro/source/filter/lwpdoc.hxx b/lotuswordpro/source/filter/lwpdoc.hxx index 6b7b8b5b717a..ff7f838576a8 100644 --- a/lotuswordpro/source/filter/lwpdoc.hxx +++ b/lotuswordpro/source/filter/lwpdoc.hxx @@ -226,7 +226,6 @@ class LwpDocSock : public LwpDLNFVList { public: LwpDocSock(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - virtual ~LwpDocSock() override {} private: LwpObjectID m_Doc; protected: diff --git a/lotuswordpro/source/filter/lwpdrawobj.hxx b/lotuswordpro/source/filter/lwpdrawobj.hxx index 28746ca44f34..fe6b61a70b4f 100644 --- a/lotuswordpro/source/filter/lwpdrawobj.hxx +++ b/lotuswordpro/source/filter/lwpdrawobj.hxx @@ -149,7 +149,6 @@ class LwpDrawGroup : public LwpDrawObj { public: explicit LwpDrawGroup(SvStream* pStream) : LwpDrawObj(pStream) {} - virtual ~LwpDrawGroup() override {} protected: virtual void Read() override {} @@ -172,7 +171,6 @@ private: public: LwpDrawLine(SvStream * pStream, DrawingOffsetAndScale* pTransData); - virtual ~LwpDrawLine() override {} protected: virtual void Read() override; @@ -234,7 +232,6 @@ private: public: LwpDrawRectangle(SvStream* pStream, DrawingOffsetAndScale* pTransData); - virtual ~LwpDrawRectangle() override {} protected: virtual void Read() override; @@ -257,7 +254,6 @@ private: public: LwpDrawEllipse(SvStream * pStream, DrawingOffsetAndScale* pTransData); - virtual ~LwpDrawEllipse() override {} protected: virtual void Read() override; @@ -278,7 +274,6 @@ private: public: LwpDrawArc(SvStream * pStream, DrawingOffsetAndScale* pTransData); - virtual ~LwpDrawArc() override {} protected: virtual void Read() override; @@ -343,7 +338,6 @@ class LwpDrawMetafile : public LwpDrawObj { public: explicit LwpDrawMetafile(SvStream* pStream); - virtual ~LwpDrawMetafile() override {} protected: virtual void Read() override; diff --git a/lotuswordpro/source/filter/lwpfilehdr.hxx b/lotuswordpro/source/filter/lwpfilehdr.hxx index 22c194f50fa5..acb303b7d792 100644 --- a/lotuswordpro/source/filter/lwpfilehdr.hxx +++ b/lotuswordpro/source/filter/lwpfilehdr.hxx @@ -64,7 +64,6 @@ class LwpFileHeader { public: LwpFileHeader(); - ~LwpFileHeader(){} private: //data member sal_uInt16 m_nAppRevision; sal_uInt16 m_nAppReleaseNo; diff --git a/lotuswordpro/source/filter/lwpfont.hxx b/lotuswordpro/source/filter/lwpfont.hxx index a2d6abdabf53..6928df392b42 100644 --- a/lotuswordpro/source/filter/lwpfont.hxx +++ b/lotuswordpro/source/filter/lwpfont.hxx @@ -77,7 +77,6 @@ class LwpFontTableEntry { public: LwpFontTableEntry(){} - ~LwpFontTableEntry(){} public: void Read(LwpObjectStream *pStrm); OUString GetFaceName(); @@ -115,7 +114,6 @@ public: , m_nFaceName(0) , m_nAltFaceName(0) {} - ~LwpFontNameEntry(){} public: void Read(LwpObjectStream *pStrm); inline sal_uInt16 GetFaceID(){return m_nFaceName;} @@ -185,7 +183,6 @@ public: , m_nCase(0) , m_nUnder(0) {} - ~LwpFontAttrEntry(){} public: void Read(LwpObjectStream *pStrm); void Override(rtl::Reference<XFFont> const & pFont); @@ -263,7 +260,6 @@ class LwpFontManager { public: LwpFontManager(){} - ~LwpFontManager(){} private: LwpFontNameManager m_FNMgr; LwpFontAttrManager m_AttrMgr; diff --git a/lotuswordpro/source/filter/lwpfootnote.hxx b/lotuswordpro/source/filter/lwpfootnote.hxx index 5966994adc10..58dfc2622f52 100644 --- a/lotuswordpro/source/filter/lwpfootnote.hxx +++ b/lotuswordpro/source/filter/lwpfootnote.hxx @@ -104,7 +104,6 @@ class LwpFribFootnote: public LwpFrib public: explicit LwpFribFootnote(LwpPara* pPara ); - virtual ~LwpFribFootnote() override {} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) override; void RegisterNewStyle(); void XFConvert(XFContentContainer* pCont); @@ -152,7 +151,6 @@ class LwpFootnoteTable : public LwpTable { public: LwpFootnoteTable(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - virtual ~LwpFootnoteTable() override {} protected: void Read() override; }; @@ -168,7 +166,6 @@ public: , m_nStartingNumber(0) {} - ~LwpFootnoteNumberOptions(){} void Read(LwpObjectStream* pObjStrm); private: sal_uInt16 m_nFlag; @@ -207,7 +204,6 @@ public: , m_nBelow(0) {} - ~LwpFootnoteSeparatorOptions(){} void Read(LwpObjectStream* pObjStrm); private: sal_uInt16 m_nFlag; diff --git a/lotuswordpro/source/filter/lwpfoundry.hxx b/lotuswordpro/source/filter/lwpfoundry.hxx index 19e6d23fdd67..72be999ce84d 100644 --- a/lotuswordpro/source/filter/lwpfoundry.hxx +++ b/lotuswordpro/source/filter/lwpfoundry.hxx @@ -88,7 +88,6 @@ class LwpObjectManager { public: LwpObjectManager(){} - ~LwpObjectManager(){} private: LwpObjectID m_Division; public: @@ -99,7 +98,6 @@ class LwpNumberManager { public: LwpNumberManager(){} - ~LwpNumberManager(){} private: LwpObjectID m_TableRange; public: @@ -111,7 +109,6 @@ class LwpBulletManager { public: LwpBulletManager(){} - ~LwpBulletManager(){} private: LwpObjectID m_Head; public: @@ -124,7 +121,6 @@ class LwpContentManager { public: LwpContentManager(){} - ~LwpContentManager(){} private: LwpObjectID m_ContentList; LwpObjectID m_EnumHead; @@ -148,7 +144,6 @@ class LwpPieceManager { public: LwpPieceManager(){} - ~LwpPieceManager(){} private: LwpObjectID m_GeometryPieceList; LwpObjectID m_ScalePieceList; @@ -185,7 +180,6 @@ class LwpOrderedObjectManager { public: LwpOrderedObjectManager(){} - ~LwpOrderedObjectManager(){} protected: LwpObjectID m_Head; public: diff --git a/lotuswordpro/source/filter/lwpframelayout.hxx b/lotuswordpro/source/filter/lwpframelayout.hxx index 190c7fb7a74a..9575687283b1 100644 --- a/lotuswordpro/source/filter/lwpframelayout.hxx +++ b/lotuswordpro/source/filter/lwpframelayout.hxx @@ -184,7 +184,6 @@ class LwpDropcapLayout : public LwpFrameLayout { public: LwpDropcapLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - virtual ~LwpDropcapLayout() override {} virtual LWP_LAYOUT_TYPE GetLayoutType () override { return LWP_DROPCAP_LAYOUT;} virtual void Parse(IXFStream* pOutputStream) override; virtual void XFConvert(XFContentContainer* pCont) override; @@ -204,7 +203,6 @@ class LwpRubyLayout : public LwpFrameLayout { public: LwpRubyLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - virtual ~LwpRubyLayout() override {} LwpRubyMarker* GetMarker(); void ConvertContentText(); LwpStory* GetContentStory(); diff --git a/lotuswordpro/source/filter/lwpfribbreaks.hxx b/lotuswordpro/source/filter/lwpfribbreaks.hxx index 413a61f9a95d..59dbfbc83392 100644 --- a/lotuswordpro/source/filter/lwpfribbreaks.hxx +++ b/lotuswordpro/source/filter/lwpfribbreaks.hxx @@ -88,14 +88,12 @@ class LwpFribLineBreak: public LwpFrib { public: explicit LwpFribLineBreak( LwpPara* pPara ) : LwpFrib(pPara){} - virtual ~LwpFribLineBreak() override {} }; class LwpFribColumnBreak: public LwpFrib { public: explicit LwpFribColumnBreak( LwpPara* pPara ) : LwpFrib(pPara){} - virtual ~LwpFribColumnBreak() override {} void RegisterBreakStyle(LwpPara* pPara); }; diff --git a/lotuswordpro/source/filter/lwpfribframe.hxx b/lotuswordpro/source/filter/lwpfribframe.hxx index 5698332533a3..85c25bca3b62 100644 --- a/lotuswordpro/source/filter/lwpfribframe.hxx +++ b/lotuswordpro/source/filter/lwpfribframe.hxx @@ -70,7 +70,6 @@ class LwpFribFrame : public LwpFrib { public: explicit LwpFribFrame( LwpPara* pPara) : LwpFrib(pPara){} - virtual ~LwpFribFrame() override {} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) override; rtl::Reference<LwpObject> GetLayout(); void RegisterStyle(LwpFoundry* pFoundry) override; @@ -84,7 +83,6 @@ class LwpFribRubyFrame : public LwpFrib { public: explicit LwpFribRubyFrame(LwpPara* pPara) : LwpFrib(pPara){} - virtual ~LwpFribRubyFrame() override {} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) override; LwpRubyLayout* GetLayout(); void RegisterStyle(LwpFoundry* pFoundry) override; diff --git a/lotuswordpro/source/filter/lwpfribmark.hxx b/lotuswordpro/source/filter/lwpfribmark.hxx index 9ea3730fbeda..a534f8f1ff08 100644 --- a/lotuswordpro/source/filter/lwpfribmark.hxx +++ b/lotuswordpro/source/filter/lwpfribmark.hxx @@ -74,7 +74,6 @@ public: : LwpFrib(pPara) , m_nType(0) {} - virtual ~LwpFribCHBlock() override {} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) override; enum{MARKER_START=1,MARKER_END,MARKER_NONE}; void XFConvert(XFContentContainer* pXFPara,LwpStory* pStory); @@ -87,7 +86,6 @@ class LwpFribBookMark : public LwpFrib { public: explicit LwpFribBookMark( LwpPara* pPara ); - virtual ~LwpFribBookMark() override {} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) override; const LwpObjectID& GetMarkerID(){return m_objMarker;} sal_uInt8 GetType(){return m_nType;} @@ -105,7 +103,6 @@ class LwpFribField : public LwpFrib { public: explicit LwpFribField( LwpPara* pPara ); - virtual ~LwpFribField() override {} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) override; LwpFieldMark* GetMarker(); sal_uInt8 GetType(){return m_nType;} @@ -146,7 +143,6 @@ class LwpFribRubyMarker : public LwpFrib { public: explicit LwpFribRubyMarker( LwpPara* pPara ); - virtual ~LwpFribRubyMarker() override {} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) override; enum{MARKER_START=1,MARKER_END,MARKER_NONE}; void XFConvert(XFContentContainer* pXFPara); diff --git a/lotuswordpro/source/filter/lwpfribsection.hxx b/lotuswordpro/source/filter/lwpfribsection.hxx index 4ce9371bdfdb..60a5de906e4e 100644 --- a/lotuswordpro/source/filter/lwpfribsection.hxx +++ b/lotuswordpro/source/filter/lwpfribsection.hxx @@ -72,7 +72,6 @@ class LwpMasterPage { public: LwpMasterPage(LwpPara* pPara, LwpPageLayout* pLayout); - ~LwpMasterPage(){} public: //for page layout register and parse diff --git a/lotuswordpro/source/filter/lwpfribtable.hxx b/lotuswordpro/source/filter/lwpfribtable.hxx index dd72e7508076..a810b8815ae2 100644 --- a/lotuswordpro/source/filter/lwpfribtable.hxx +++ b/lotuswordpro/source/filter/lwpfribtable.hxx @@ -63,7 +63,6 @@ class LwpFribTable : public LwpFrib { public: explicit LwpFribTable( LwpPara* pPara ) : LwpFrib(pPara){} - virtual ~LwpFribTable() override {} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) override; LwpSuperTableLayout* GetSuperTable(); void RegisterNewStyle(); diff --git a/lotuswordpro/source/filter/lwpfribtext.hxx b/lotuswordpro/source/filter/lwpfribtext.hxx index 92c9d1121c13..4917f96d5c43 100644 --- a/lotuswordpro/source/filter/lwpfribtext.hxx +++ b/lotuswordpro/source/filter/lwpfribtext.hxx @@ -67,7 +67,6 @@ class LwpFribText : public LwpFrib { public: LwpFribText( LwpPara* pPara, bool bNoUnicode); - virtual ~LwpFribText() override {} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) override; void XFConvert(XFContentContainer* pXFPara,LwpStory* pStory); private: @@ -81,14 +80,12 @@ class LwpFribHardSpace : public LwpFrib { public: explicit LwpFribHardSpace( LwpPara* pPara ) : LwpFrib(pPara){} - virtual ~LwpFribHardSpace() override {} }; class LwpFribSoftHyphen : public LwpFrib { public: explicit LwpFribSoftHyphen( LwpPara* pPara ) : LwpFrib(pPara){} - virtual ~LwpFribSoftHyphen() override {} }; class LwpFribParaNumber : public LwpFrib @@ -179,14 +176,12 @@ class LwpFribTab : public LwpFrib { public: explicit LwpFribTab( LwpPara* pPara ) : LwpFrib(pPara){} - virtual ~LwpFribTab() override {} }; class LwpFribUnicode: public LwpFrib { public: explicit LwpFribUnicode( LwpPara* pPara ) : LwpFrib(pPara){} - virtual ~LwpFribUnicode() override {} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) override; void XFConvert(XFContentContainer* pXFPara,LwpStory* pStory); private: @@ -200,7 +195,6 @@ class LwpFribPageNumber : public LwpFrib public: explicit LwpFribPageNumber(LwpPara* pPara) : LwpFrib(pPara), m_nNumStyle(0), m_nStartNum(1), m_nStartOnPage(1), m_nFlag(0){} - virtual ~LwpFribPageNumber() override {} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) override; void XFConvert(XFContentContainer* pXFPara); private: diff --git a/lotuswordpro/source/filter/lwplayout.hxx b/lotuswordpro/source/filter/lwplayout.hxx index 8d2e47dd9016..c780067fb365 100644 --- a/lotuswordpro/source/filter/lwplayout.hxx +++ b/lotuswordpro/source/filter/lwplayout.hxx @@ -97,7 +97,6 @@ class LwpVirtualLayout : public LwpDLNFPVList { public: LwpVirtualLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - virtual ~LwpVirtualLayout() override {} inline virtual sal_uInt16 GetNumCols(){return 1;} virtual double GetColWidth(sal_uInt16 nIndex); virtual double GetColGap(sal_uInt16 nIndex); @@ -296,7 +295,6 @@ class LwpHeadLayout : public LwpVirtualLayout { public: LwpHeadLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - virtual ~LwpHeadLayout() override {} void RegisterStyle() override; rtl::Reference<LwpVirtualLayout> FindEnSuperTableLayout(); protected: diff --git a/lotuswordpro/source/filter/lwplnopts.hxx b/lotuswordpro/source/filter/lwplnopts.hxx index 9702852b3afb..6ef1e69e2288 100644 --- a/lotuswordpro/source/filter/lwplnopts.hxx +++ b/lotuswordpro/source/filter/lwplnopts.hxx @@ -72,7 +72,6 @@ class LwpLineNumberOptions { public: explicit LwpLineNumberOptions(LwpObjectStream* pStrm); - ~LwpLineNumberOptions(){} protected: sal_uInt16 m_nType; sal_uInt16 m_nFlags; diff --git a/lotuswordpro/source/filter/lwpmarker.hxx b/lotuswordpro/source/filter/lwpmarker.hxx index 176dca8cc928..b0117b3298b4 100644 --- a/lotuswordpro/source/filter/lwpmarker.hxx +++ b/lotuswordpro/source/filter/lwpmarker.hxx @@ -71,7 +71,6 @@ class LwpMarker : public LwpDLNFPVList { public: LwpMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - virtual ~LwpMarker() override {} void Read() override; OUString GetNamedProperty(const OUString& name); protected: @@ -93,7 +92,6 @@ class LwpFribRange { public: LwpFribRange(){} - ~LwpFribRange(){} void Read(LwpObjectStream* pObjStrm); private: LwpObjectID m_StartPara; @@ -104,7 +102,6 @@ class LwpStoryMarker : public LwpMarker { public: LwpStoryMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - virtual ~LwpStoryMarker() override {} void Read() override; private: LwpFribRange m_Range; @@ -115,7 +112,6 @@ class LwpCHBlkMarker : public LwpStoryMarker { public: LwpCHBlkMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - virtual ~LwpCHBlkMarker() override {} void Read() override; sal_uInt16 GetAction(){return m_nAction;} void ConvertCHBlock(XFContentContainer* pXFPara,sal_uInt8 nType); @@ -173,7 +169,6 @@ class LwpBookMark : public LwpDLNFVList { public: LwpBookMark(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - virtual ~LwpBookMark() override {} protected: void Read() override; public: @@ -191,7 +186,6 @@ class LwpFieldMark : public LwpStoryMarker { public: LwpFieldMark(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - virtual ~LwpFieldMark() override {} void Read() override; void ParseIndex(OUString& sKey1,OUString& sKey2); void ParseTOC(OUString& sLevel,OUString& sText); @@ -255,7 +249,6 @@ class LwpRubyMarker : public LwpStoryMarker { public: LwpRubyMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - virtual ~LwpRubyMarker() override {} void Read() override; const OUString& GetRubyText(){return m_strRubyText;} void SetRubyText(const OUString& sText){m_strRubyText = sText;} diff --git a/lotuswordpro/source/filter/lwpnotes.hxx b/lotuswordpro/source/filter/lwpnotes.hxx index 157233f0e447..9cd0fbdb30f5 100644 --- a/lotuswordpro/source/filter/lwpnotes.hxx +++ b/lotuswordpro/source/filter/lwpnotes.hxx @@ -72,7 +72,6 @@ class LwpFribNote: public LwpFrib { public: explicit LwpFribNote(LwpPara* pPara ); - virtual ~LwpFribNote() override {} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) override; void RegisterNewStyle(); void XFConvert(XFContentContainer* pCont); diff --git a/lotuswordpro/source/filter/lwpnumberingoverride.hxx b/lotuswordpro/source/filter/lwpnumberingoverride.hxx index d6beef61fb1e..ffbfb18def67 100644 --- a/lotuswordpro/source/filter/lwpnumberingoverride.hxx +++ b/lotuswordpro/source/filter/lwpnumberingoverride.hxx @@ -67,7 +67,6 @@ class LwpNumberingOverride : public LwpOverride { public: LwpNumberingOverride(); - virtual ~LwpNumberingOverride() override {} virtual LwpNumberingOverride* clone() const override; diff --git a/lotuswordpro/source/filter/lwpnumericfmt.hxx b/lotuswordpro/source/filter/lwpnumericfmt.hxx index 12a7aaec9e57..5340b511feec 100644 --- a/lotuswordpro/source/filter/lwpnumericfmt.hxx +++ b/lotuswordpro/source/filter/lwpnumericfmt.hxx @@ -249,7 +249,6 @@ class LwpNumericFormat { public: explicit LwpNumericFormat(LwpObjectStream * pStrm); - ~LwpNumericFormat(){} void Read(); static bool IsCurrencyFormat(sal_uInt16 Format); sal_uInt16 GetDecimalPlaces(); diff --git a/lotuswordpro/source/filter/lwpoleobject.hxx b/lotuswordpro/source/filter/lwpoleobject.hxx index f17e984f1513..2eefc3f5560d 100644 --- a/lotuswordpro/source/filter/lwpoleobject.hxx +++ b/lotuswordpro/source/filter/lwpoleobject.hxx @@ -116,7 +116,6 @@ class LwpOleObject : public LwpGraphicOleObject { public: LwpOleObject(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - virtual ~LwpOleObject() override {} virtual void Read() override; virtual void Parse(IXFStream* pOutputStream) override; virtual void XFConvert(XFContentContainer * pCont) override; diff --git a/lotuswordpro/source/filter/lwpparaproperty.hxx b/lotuswordpro/source/filter/lwpparaproperty.hxx index bec5f31faccd..a9c7fe72d8c8 100644 --- a/lotuswordpro/source/filter/lwpparaproperty.hxx +++ b/lotuswordpro/source/filter/lwpparaproperty.hxx @@ -87,7 +87,6 @@ class LwpParaProperty : public LwpDLList { public: LwpParaProperty(){} - virtual ~LwpParaProperty() override {} virtual sal_uInt32 GetType() = 0; inline LwpParaProperty* GetNext(); diff --git a/lotuswordpro/source/filter/lwpproplist.hxx b/lotuswordpro/source/filter/lwpproplist.hxx index 463c659b785c..d326ba733ec9 100644 --- a/lotuswordpro/source/filter/lwpproplist.hxx +++ b/lotuswordpro/source/filter/lwpproplist.hxx @@ -85,7 +85,6 @@ class LwpPropList : public LwpDLVListHead { public: LwpPropList(){} - ~LwpPropList(){} using LwpDLVListHead::Read; LwpPropListElement* GetFirst(); OUString GetNamedProperty(const OUString& name); diff --git a/lotuswordpro/source/filter/lwpprtinfo.hxx b/lotuswordpro/source/filter/lwpprtinfo.hxx index bed62647386d..4f44aa4c3849 100644 --- a/lotuswordpro/source/filter/lwpprtinfo.hxx +++ b/lotuswordpro/source/filter/lwpprtinfo.hxx @@ -71,7 +71,6 @@ class LwpPrinterInfo { public: explicit LwpPrinterInfo(LwpObjectStream* pStrm); - ~LwpPrinterInfo(){} public: static void Skip(LwpObjectStream *pStrm); diff --git a/lotuswordpro/source/filter/lwpsection.hxx b/lotuswordpro/source/filter/lwpsection.hxx index 89cff3698e0c..dccb88795c62 100644 --- a/lotuswordpro/source/filter/lwpsection.hxx +++ b/lotuswordpro/source/filter/lwpsection.hxx @@ -71,7 +71,6 @@ class LwpOrderedObject : public LwpDLNFVList { public: LwpOrderedObject(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - virtual ~LwpOrderedObject() override {} void Read() override; LwpObjectID& GetPosition(){ return m_Para;} LwpObjectID& GetListList(){ return m_ListList;} diff --git a/lotuswordpro/source/filter/lwpsortopt.hxx b/lotuswordpro/source/filter/lwpsortopt.hxx index 1830fb94c4aa..4b96b8d7420a 100644 --- a/lotuswordpro/source/filter/lwpsortopt.hxx +++ b/lotuswordpro/source/filter/lwpsortopt.hxx @@ -84,7 +84,6 @@ class LwpSortOption { public: explicit LwpSortOption(LwpObjectStream* pStrm); - ~LwpSortOption(){} public: void Read(LwpObjectStream *pStrm); private: diff --git a/lotuswordpro/source/filter/lwptable.hxx b/lotuswordpro/source/filter/lwptable.hxx index f75128b0d5df..6c8847127f18 100644 --- a/lotuswordpro/source/filter/lwptable.hxx +++ b/lotuswordpro/source/filter/lwptable.hxx @@ -94,7 +94,6 @@ class LwpForkedNotifyList { public: LwpForkedNotifyList(){} - ~LwpForkedNotifyList() {} void Read(LwpObjectStream* pObjStrm) { m_PersistentList.Read(pObjStrm); diff --git a/lotuswordpro/source/filter/lwptaboverride.hxx b/lotuswordpro/source/filter/lwptaboverride.hxx index c5eeaa893d20..c9c2de54fb14 100644 --- a/lotuswordpro/source/filter/lwptaboverride.hxx +++ b/lotuswordpro/source/filter/lwptaboverride.hxx @@ -70,10 +70,6 @@ public: { } - virtual ~LwpTabOverride() override - { - } - virtual LwpTabOverride* clone() const override; virtual void Read(LwpObjectStream *pStrm) override diff --git a/lotuswordpro/source/filter/lwptblcell.hxx b/lotuswordpro/source/filter/lwptblcell.hxx index 39f5ab8420d6..0907e6fc6ef4 100644 --- a/lotuswordpro/source/filter/lwptblcell.hxx +++ b/lotuswordpro/source/filter/lwptblcell.hxx @@ -227,7 +227,6 @@ class LwpRowColumnQualifier { public: LwpRowColumnQualifier(); - ~LwpRowColumnQualifier(){} bool IsAbsolute(); @@ -280,7 +279,6 @@ public: LwpRowSpecifier() : cRow(0) {} - ~LwpRowSpecifier(){} void QuickRead(LwpObjectStream *pStrm); @@ -316,8 +314,6 @@ public: LwpColumnSpecifier() : cColumn(0) {} - ~LwpColumnSpecifier() - {} void QuickRead(LwpObjectStream *pStrm); diff --git a/lotuswordpro/source/filter/lwpuidoc.hxx b/lotuswordpro/source/filter/lwpuidoc.hxx index b2ee70548962..36095fe72b28 100644 --- a/lotuswordpro/source/filter/lwpuidoc.hxx +++ b/lotuswordpro/source/filter/lwpuidoc.hxx @@ -90,7 +90,6 @@ public: LwpAutoRunMacroOptions() : m_OptionFlag(0) {} - ~LwpAutoRunMacroOptions(){} private: LwpAtomHolder m_OpenName; LwpAtomHolder m_CloseName; @@ -110,7 +109,6 @@ public: : m_nType(0) , m_nLastActionFlag(0) {} - ~LwpMergeOptions(){} private: LwpAtomHolder m_RecordFile; LwpAtomHolder m_DescriptionFile; diff --git a/lotuswordpro/source/filter/lwpusrdicts.hxx b/lotuswordpro/source/filter/lwpusrdicts.hxx index 53bc789e885c..7127662f4656 100644 --- a/lotuswordpro/source/filter/lwpusrdicts.hxx +++ b/lotuswordpro/source/filter/lwpusrdicts.hxx @@ -70,7 +70,6 @@ class LwpUserDictFiles { public: explicit LwpUserDictFiles(LwpObjectStream *pStrm); - ~LwpUserDictFiles(){} static void Read(LwpObjectStream *pStrm); }; #endif diff --git a/lotuswordpro/source/filter/tocread.hxx b/lotuswordpro/source/filter/tocread.hxx index eb86ca789d6b..5af3c5caa76d 100644 --- a/lotuswordpro/source/filter/tocread.hxx +++ b/lotuswordpro/source/filter/tocread.hxx @@ -67,7 +67,6 @@ public: // Methods , cCurr(0) , cTOCSize(0) { } - ~CBenTOCReader() {} BenError ReadLabelAndTOC(); private: // Methods diff --git a/lotuswordpro/source/filter/xfilter/xfchange.hxx b/lotuswordpro/source/filter/xfilter/xfchange.hxx index b1536be5ccbd..6d45c5b066da 100644 --- a/lotuswordpro/source/filter/xfilter/xfchange.hxx +++ b/lotuswordpro/source/filter/xfilter/xfchange.hxx @@ -71,7 +71,6 @@ class XFChangeList : public XFContentContainer { public: XFChangeList(){} - virtual ~XFChangeList() override {} virtual void ToXml(IXFStream *pStrm) override; }; @@ -79,7 +78,6 @@ class XFChangeRegion : public XFContentContainer { public: XFChangeRegion(){} - virtual ~XFChangeRegion() override {} virtual void ToXml(IXFStream *pStrm) override; void SetChangeID(const OUString& sID){m_sID=sID;} void SetEditor(const OUString& sEditor){m_sEditor=sEditor;} @@ -92,7 +90,6 @@ class XFChangeInsert : public XFChangeRegion { public: XFChangeInsert(){} - virtual ~XFChangeInsert() override {} void ToXml(IXFStream *pStrm) override; }; @@ -100,7 +97,6 @@ class XFChangeDelete : public XFChangeRegion { public: XFChangeDelete(){} - virtual ~XFChangeDelete() override {} void ToXml(IXFStream *pStrm) override; }; @@ -108,7 +104,6 @@ class XFChangeStart : public XFContent { public: XFChangeStart(){} - virtual ~XFChangeStart() override {} void ToXml(IXFStream *pStrm) override; void SetChangeID(const OUString& sID){m_sID=sID;} private: @@ -119,7 +114,6 @@ class XFChangeEnd : public XFContent { public: XFChangeEnd(){} - virtual ~XFChangeEnd() override {} void ToXml(IXFStream *pStrm) override; void SetChangeID(const OUString& sID){m_sID=sID;} private: diff --git a/lotuswordpro/source/filter/xfilter/xffontworkstyle.hxx b/lotuswordpro/source/filter/xfilter/xffontworkstyle.hxx index aa4fc03d5169..5ad4be6c214f 100644 --- a/lotuswordpro/source/filter/xfilter/xffontworkstyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xffontworkstyle.hxx @@ -72,8 +72,6 @@ public: m_eAdjustType(enumXFFWAdjustAutosize) {} - ~XFFontWorkStyle(){} - inline void SetButtonForm(sal_Int8 nIndex); inline void SetFWStyleType(enumXFFWStyle eStyle); inline void SetFWAdjustType(enumXFFWAdjust eAdjust); diff --git a/lotuswordpro/source/filter/xfilter/xfofficemeta.hxx b/lotuswordpro/source/filter/xfilter/xfofficemeta.hxx index 3367f54d8c47..fe6032c81574 100644 --- a/lotuswordpro/source/filter/xfilter/xfofficemeta.hxx +++ b/lotuswordpro/source/filter/xfilter/xfofficemeta.hxx @@ -67,7 +67,6 @@ class XFOfficeMeta final { public: XFOfficeMeta(){} - ~XFOfficeMeta(){} void SetCreator(const OUString& creator); void SetDescription(const OUString& dsr); diff --git a/lotuswordpro/source/filter/xfilter/xfrubystyle.hxx b/lotuswordpro/source/filter/xfilter/xfrubystyle.hxx index 9094f1994486..228cf0b706ed 100644 --- a/lotuswordpro/source/filter/xfilter/xfrubystyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xfrubystyle.hxx @@ -72,7 +72,6 @@ public: , m_eAlign(enumXFRubyLeft) { } - virtual ~XFRubyStyle() override {} virtual void ToXml(IXFStream *strm) override; void SetPosition(enumXFRubyPosition ePosition); void SetAlignment(enumXFRubyPosition eAlignment); diff --git a/lotuswordpro/source/filter/xfilter/xftimestyle.hxx b/lotuswordpro/source/filter/xfilter/xftimestyle.hxx index 521aa2ba20be..72609cf4fe62 100644 --- a/lotuswordpro/source/filter/xfilter/xftimestyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xftimestyle.hxx @@ -72,8 +72,6 @@ public: , m_bLongFmt(false) {} - virtual ~XFDateTimePart() override {} -public: void SetPartType(enumXFDatePart ePart); void SetLongFmt(bool bLongFmt); @@ -91,8 +89,6 @@ class XFTimePart : public XFDateTimePart public: XFTimePart(); - virtual ~XFTimePart() override {} -public: void SetDecimalPos(sal_Int32 pos); virtual void ToXml(IXFStream *pStrm) override; |