summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-09-01 17:01:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-09-01 17:02:59 +0200
commit9f765added5d3c672de4bda4493b65f9ce1b8187 (patch)
tree79190bc1d0357f9b39f0676133ef0c7683565f07 /sc
parent1a9a77f84cac68bd5374df3e9ee4df88dc87a0ac (diff)
No more need for ScRawTokenBase
...since 05eda0dc19af81ed0d5167bdd0a92113e6e8bc60 "loplugin:unusedfields in sc" Change-Id: Id80ec49fc93a6d599e2b36727c0424af77fae693
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/compiler.hxx12
1 files 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;