summaryrefslogtreecommitdiff
path: root/formula/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-06-22 15:51:02 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-06-23 15:21:12 +0200
commit9b1dbe77297343cc74cf049c64ec65d316d10e67 (patch)
tree8acd6ee60130a1dd1aecfd16fcdbce021fb84254 /formula/inc
parent29387b95a21725ac9a216a18674d0e39917e3481 (diff)
fix for fdo#37880
we need to save the information if we have a global range name or a local range name in the uno api too
Diffstat (limited to 'formula/inc')
-rw-r--r--formula/inc/formula/token.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/formula/inc/formula/token.hxx b/formula/inc/formula/token.hxx
index bc6cfc2c2793..ccbc4abb77f6 100644
--- a/formula/inc/formula/token.hxx
+++ b/formula/inc/formula/token.hxx
@@ -302,14 +302,16 @@ class FORMULA_DLLPUBLIC FormulaIndexToken : public FormulaToken
{
private:
sal_uInt16 nIndex;
+ bool mbGlobal;
public:
- FormulaIndexToken( OpCode e, sal_uInt16 n ) :
- FormulaToken( svIndex, e ), nIndex( n ) {}
+ FormulaIndexToken( OpCode e, sal_uInt16 n, bool bGlobal = true ) :
+ FormulaToken( svIndex, e ), nIndex( n ), mbGlobal( bGlobal ) {}
FormulaIndexToken( const FormulaIndexToken& r ) :
- FormulaToken( r ), nIndex( r.nIndex ) {}
+ FormulaToken( r ), nIndex( r.nIndex ), mbGlobal( r.mbGlobal ) {}
virtual FormulaToken* Clone() const { return new FormulaIndexToken(*this); }
- virtual sal_uInt16 GetIndex() const;
+ virtual sal_uInt16 GetIndex() const;
+ virtual sal_uInt8 GetByte() const;
virtual void SetIndex( sal_uInt16 n );
virtual bool operator==( const FormulaToken& rToken ) const;
};