diff options
Diffstat (limited to 'idlc/inc')
-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(); |