[Libreoffice-commits] core.git: sc/inc

Stephan Bergmann sbergman at redhat.com
Thu Sep 1 15:04:09 UTC 2016


 sc/inc/compiler.hxx |   12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

New commits:
commit 9f765added5d3c672de4bda4493b65f9ce1b8187
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Sep 1 17:01:51 2016 +0200

    No more need for ScRawTokenBase
    
    ...since 05eda0dc19af81ed0d5167bdd0a92113e6e8bc60 "loplugin:unusedfields in sc"
    
    Change-Id: Id80ec49fc93a6d599e2b36727c0424af77fae693

diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index 9699c4a..849e8ca 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -96,19 +96,15 @@ class CompileFormulaContext;
     formula::StackVar   eType;      // type of data
  */
 
-struct ScRawTokenBase
-{
-protected:
-    OpCode   eOp;
-    formula::StackVar eType;
-};
-
-struct ScRawToken: private ScRawTokenBase
+struct ScRawToken
 {
     friend class ScCompiler;
     // Friends that use a temporary ScRawToken on the stack (and therefore need
     // the private dtor) and know what they're doing..
     friend class ScTokenArray;
+protected:
+    OpCode   eOp;
+    formula::StackVar eType;
 public:
     union {
         double       nValue;


More information about the Libreoffice-commits mailing list