diff options
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/formulacell.hxx | 4 | ||||
-rw-r--r-- | sc/inc/tokenarray.hxx | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx index 0ed021f6b756..899d3b70b3cc 100644 --- a/sc/inc/formulacell.hxx +++ b/sc/inc/formulacell.hxx @@ -410,6 +410,10 @@ public: bool IsSharedTop() const; SCROW GetSharedTopRow() const; SCROW GetSharedLength() const; + + // An estimate of the number of cells referenced by the formula + sal_Int32 GetWeight() const; + ScTokenArray* GetSharedCode(); const ScTokenArray* GetSharedCode() const; diff --git a/sc/inc/tokenarray.hxx b/sc/inc/tokenarray.hxx index 5d6593d6f8f1..ab1e9419042b 100644 --- a/sc/inc/tokenarray.hxx +++ b/sc/inc/tokenarray.hxx @@ -60,6 +60,9 @@ public: virtual ~ScTokenArray(); ScTokenArray* Clone() const; /// True copy! + // An estimate of the number of cells referenced by the token array + sal_Int32 GetWeight() const; + void GenHash(); size_t GetHash() const { return mnHashValue;} |