diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2016-08-28 15:16:15 +0200 |
---|---|---|
committer | Arnaud Versini <arnaud.versini@libreoffice.org> | 2016-08-28 19:40:41 +0000 |
commit | a8c5edcea9f58a9295776c2a3f200111a5a749ab (patch) | |
tree | 70d19d2e830d09d024ed245c24936ed94895cbae /basic | |
parent | 34dad6cf5d68c50746bb387debc89726fad2aa69 (diff) |
BASIC: Devirtualize SbiExprNode::~SbiExprNode and make SbiExprNode final
Change-Id: I95581265e2cc7befc00e67d42b6516d49c794680
Reviewed-on: https://gerrit.libreoffice.org/28438
Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
Tested-by: Arnaud Versini <arnaud.versini@libreoffice.org>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/inc/expr.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/inc/expr.hxx b/basic/source/inc/expr.hxx index 8f17e8b0c8b7..748d6b26e400 100644 --- a/basic/source/inc/expr.hxx +++ b/basic/source/inc/expr.hxx @@ -87,7 +87,7 @@ enum RecursiveMode PREVENT_CALL }; -class SbiExprNode { // operators (and operands) +class SbiExprNode final { // operators (and operands) friend class SbiExpression; friend class SbiConstExpression; union { @@ -125,7 +125,7 @@ public: SbiExprNode( SbiExprNode*, SbiToken, SbiExprNode* ); SbiExprNode( SbiExprNode*, sal_uInt16 ); // #120061 TypeOf SbiExprNode( sal_uInt16 ); // new <type> - virtual ~SbiExprNode(); + ~SbiExprNode(); bool IsValid() { return !bError; } bool IsConstant() // true: constant operand |