diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-08-16 06:50:15 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-08-16 06:58:08 +0200 |
commit | 04d2e6469529b6187900659517d6f6dd5ea2cca5 (patch) | |
tree | 040472b44cfc3782c222d2acc22727132a25a881 /sc/inc/token.hxx | |
parent | ade0d4b40af9d1f3f4f16b3bbb55d21ecb6a68e8 (diff) |
update range names/database ranges in formulas cells
we need to update range names/database ranges when we copy/paste formula
cells otherwise the ScNameToken may point to a different entry
Diffstat (limited to 'sc/inc/token.hxx')
-rw-r--r-- | sc/inc/token.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx index d7cefab1982a..cec672fddb95 100644 --- a/sc/inc/token.hxx +++ b/sc/inc/token.hxx @@ -247,8 +247,9 @@ public: ScNameToken(sal_uInt16 nIndex, bool bGlobal, OpCode eOpCode = ocName); ScNameToken(const ScNameToken& r); virtual ~ScNameToken(); - virtual sal_uInt8 GetByte() const; - virtual sal_uInt16 GetIndex() const; + virtual sal_uInt8 GetByte() const; + virtual void SetByte(sal_uInt8 aGlobal); + virtual sal_uInt16 GetIndex() const; virtual bool operator==( const formula::FormulaToken& rToken ) const; virtual FormulaToken* Clone() const { return new ScNameToken(*this); } }; |