summaryrefslogtreecommitdiff
path: root/sc/inc/tokenstringcontext.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-11-18 15:26:05 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-11-18 17:25:41 -0500
commiteeb91d8f57424c3e2c3d2ea371dd8d00af287953 (patch)
tree7d7b87b9fd525dab9ebcf0bb045bff855d939699 /sc/inc/tokenstringcontext.hxx
parent6adf0ba4c8815c95b9bdbf274c0e2f774aed9a9f (diff)
Handle external reference bits too. This is the last missing piece.
Change-Id: Ib1dd18bb5a8d70c53722ac91e2340d05bbc7798a
Diffstat (limited to 'sc/inc/tokenstringcontext.hxx')
-rw-r--r--sc/inc/tokenstringcontext.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/tokenstringcontext.hxx b/sc/inc/tokenstringcontext.hxx
index 7af90eb15458..85b61f77b13d 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<size_t, std::vector<OUString> > IndexNamesMapType;
typedef boost::unordered_map<SCTAB, IndexNameMapType> TabIndexMapType;
formula::FormulaGrammar::Grammar meGram;
@@ -39,6 +40,9 @@ struct SC_DLLPUBLIC TokenStringContext
TabIndexMapType maSheetRangeNames;
IndexNameMapType maNamedDBs;
+ std::vector<OUString> maExternalFileNames;
+ IndexNamesMapType maExternalCachedTabNames;
+
TokenStringContext( const ScDocument* pDoc, formula::FormulaGrammar::Grammar eGram );
};