[Libreoffice-commits] core.git: basic/source

Arnaud Versini arnaud.versini at gmail.com
Sun Aug 28 19:41:02 UTC 2016


 basic/source/inc/expr.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a8c5edcea9f58a9295776c2a3f200111a5a749ab
Author: Arnaud Versini <arnaud.versini at gmail.com>
Date:   Sun Aug 28 15:16:15 2016 +0200

    BASIC: Devirtualize SbiExprNode::~SbiExprNode and make SbiExprNode final
    
    Change-Id: I95581265e2cc7befc00e67d42b6516d49c794680
    Reviewed-on: https://gerrit.libreoffice.org/28438
    Reviewed-by: Arnaud Versini <arnaud.versini at libreoffice.org>
    Tested-by: Arnaud Versini <arnaud.versini at libreoffice.org>

diff --git a/basic/source/inc/expr.hxx b/basic/source/inc/expr.hxx
index 8f17e8b..748d6b2 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


More information about the Libreoffice-commits mailing list