summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-11-15 16:16:04 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-11-18 17:25:39 -0500
commit62b36e800d650ede5d48d8a2b81a410578407b32 (patch)
tree7bbd9d20ea5d2791adff6dda30555251bdd424eb /sc/inc
parent24ddf0d93879cfa0d92b2144685960eed26116fb (diff)
Handle sheet-local range names too.
Change-Id: Ib1503c3b69d77946b4437bdc0e1bfa5ebacbb602
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/tokenstringcontext.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/tokenstringcontext.hxx b/sc/inc/tokenstringcontext.hxx
index 6015a5911813..7af90eb15458 100644
--- a/sc/inc/tokenstringcontext.hxx
+++ b/sc/inc/tokenstringcontext.hxx
@@ -27,6 +27,7 @@ namespace sc {
struct SC_DLLPUBLIC TokenStringContext
{
typedef boost::unordered_map<sal_uInt16, OUString> IndexNameMapType;
+ typedef boost::unordered_map<SCTAB, IndexNameMapType> TabIndexMapType;
formula::FormulaGrammar::Grammar meGram;
formula::FormulaCompiler::OpCodeMapPtr mxOpCodeMap;
@@ -35,6 +36,7 @@ struct SC_DLLPUBLIC TokenStringContext
std::vector<OUString> maTabNames;
IndexNameMapType maGlobalRangeNames;
+ TabIndexMapType maSheetRangeNames;
IndexNameMapType maNamedDBs;
TokenStringContext( const ScDocument* pDoc, formula::FormulaGrammar::Grammar eGram );