diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-07 14:37:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-08 06:10:25 +0000 |
commit | 990102be61a47a14a73a25ee320ac1033250777e (patch) | |
tree | 69ab0c8d40c266a901fd66e99b79d1c00f6c08ba /idlc | |
parent | dda87c6a461174def7334d2c0aac87d4eb8ab7cf (diff) |
loplugin:unnecessaryvirtual in hwpfilter..rsc
Change-Id: I2e9df8223d503b813b4c458747e8c44bb8ef8868
Reviewed-on: https://gerrit.libreoffice.org/30661
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/inc/astexpression.hxx | 4 | ||||
-rw-r--r-- | idlc/inc/aststack.hxx | 4 | ||||
-rw-r--r-- | idlc/inc/fehelper.hxx | 10 | ||||
-rw-r--r-- | idlc/inc/idlc.hxx | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/idlc/inc/astexpression.hxx b/idlc/inc/astexpression.hxx index e64b314baa52..e092ffd99fd0 100644 --- a/idlc/inc/astexpression.hxx +++ b/idlc/inc/astexpression.hxx @@ -87,7 +87,7 @@ struct AstExprValue const sal_Char* SAL_CALL exprTypeToString(ExprType t); -class AstExpression +class AstExpression final { public: // Constructor(s) @@ -100,7 +100,7 @@ public: AstExpression(double d); AstExpression(OString* scopedName); - virtual ~AstExpression(); + ~AstExpression(); // Data Accessors AstExprValue* getExprValue() diff --git a/idlc/inc/aststack.hxx b/idlc/inc/aststack.hxx index c704e91f91b3..8793f918d52a 100644 --- a/idlc/inc/aststack.hxx +++ b/idlc/inc/aststack.hxx @@ -23,11 +23,11 @@ class AstScope; -class AstStack +class AstStack final { public: AstStack(); - virtual ~AstStack(); + ~AstStack(); sal_uInt32 depth() { return m_top;} AstScope* top(); diff --git a/idlc/inc/fehelper.hxx b/idlc/inc/fehelper.hxx index 61bc51638dad..9cec2f644e25 100644 --- a/idlc/inc/fehelper.hxx +++ b/idlc/inc/fehelper.hxx @@ -24,11 +24,11 @@ #include <vector> -class FeDeclarator +class FeDeclarator final { public: FeDeclarator(const OString& name); - virtual ~FeDeclarator(); + ~FeDeclarator(); const OString& getName() { return m_name; } bool checkType(AstDeclaration const * pType); @@ -39,18 +39,18 @@ private: typedef ::std::list< FeDeclarator* > FeDeclList; -class FeInheritanceHeader +class FeInheritanceHeader final { public: FeInheritanceHeader( NodeType nodeType, OString* pName, OString* pInherits, std::vector< OString > * typeParameters); - virtual ~FeInheritanceHeader() + ~FeInheritanceHeader() { if ( m_pName ) delete m_pName; - } + } NodeType getNodeType() { return m_nodeType; } diff --git a/idlc/inc/idlc.hxx b/idlc/inc/idlc.hxx index 468bec2ba26f..20665ba8dd50 100644 --- a/idlc/inc/idlc.hxx +++ b/idlc/inc/idlc.hxx @@ -37,11 +37,11 @@ class AstType; class Options; class ErrorHandler; -class Idlc +class Idlc final { public: Idlc(Options* pOptions); - virtual ~Idlc(); + ~Idlc(); void init(); |