From 9f765added5d3c672de4bda4493b65f9ce1b8187 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 1 Sep 2016 17:01:51 +0200 Subject: No more need for ScRawTokenBase ...since 05eda0dc19af81ed0d5167bdd0a92113e6e8bc60 "loplugin:unusedfields in sc" Change-Id: Id80ec49fc93a6d599e2b36727c0424af77fae693 --- sc/inc/compiler.hxx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx index 9699c4a63556..849e8ca25af1 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; -- cgit