summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-06-22 15:03:33 +0200
committerAndras Timar <andras.timar@collabora.com>2015-08-06 12:51:31 +0200
commitecded79827a51d40d2a12499b4d8b26bdff5cb9c (patch)
tree9505e9437c720dcc93d58bbc0aa983b311e37dbb /sc/inc
parent9ee8ab7387b5948570605849419cdf1d5f60af2e (diff)
TableRef: inherit RelName in generated reference if named expression
Change-Id: I67621e59c6e20e7f3b5101772b5d274d8c745ce9 (cherry picked from commit d0255f30e34442a70665a91fa7e4b6c92f3dab1b)
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/tokenarray.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/tokenarray.hxx b/sc/inc/tokenarray.hxx
index 0d3fa0245f50..b36936a332e7 100644
--- a/sc/inc/tokenarray.hxx
+++ b/sc/inc/tokenarray.hxx
@@ -52,6 +52,7 @@ class SC_DLLPUBLIC ScTokenArray : public formula::FormulaTokenArray
size_t mnHashValue;
ScFormulaVectorState meVectorState;
+ bool mbFromRangeName;
public:
ScTokenArray();
@@ -69,6 +70,9 @@ public:
ScFormulaVectorState GetVectorState() const { return meVectorState;}
+ void SetFromRangeName( bool b ) { mbFromRangeName = b; }
+ bool IsFromRangeName() const { return mbFromRangeName; }
+
/**
* If the array contains at least one relative row reference or named
* expression, it's variant. Otherwise invariant.