summaryrefslogtreecommitdiff
path: root/include/formula/token.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/formula/token.hxx')
-rw-r--r--include/formula/token.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/formula/token.hxx b/include/formula/token.hxx
index bd33935cbf26..26643fc08fcd 100644
--- a/include/formula/token.hxx
+++ b/include/formula/token.hxx
@@ -123,12 +123,10 @@ inline std::string StackVarEnumToString(StackVar const e)
class FORMULA_DLLPUBLIC FormulaToken
{
OpCode eOp;
- FormulaToken& operator=( const FormulaToken& ) = delete;
-protected:
-
- const StackVar eType; // type of data
- mutable oslInterlockedCount mnRefCnt; // reference count
+ const StackVar eType; // type of data
+ mutable oslInterlockedCount mnRefCnt; // reference count
+ FormulaToken& operator=( const FormulaToken& ) = delete;
public:
FormulaToken( StackVar eTypeP,OpCode e = ocPush );
FormulaToken( const FormulaToken& r );