summaryrefslogtreecommitdiff
path: root/sc/inc/compiler.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-11-15 18:28:32 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-11-18 17:25:39 -0500
commit0df2c02d4f40b627f17d68d80a18999f4f40aea2 (patch)
tree0809cd0af72cc56612237b9d986d45b531db98ef /sc/inc/compiler.hxx
parent62b36e800d650ede5d48d8a2b81a410578407b32 (diff)
Let's have makeRefStr() take individual parameters again.
And remove use of TokenStringContext from ScCompiler. Change-Id: Ib0636e2437a64edd372623a7176dab462eed831b
Diffstat (limited to 'sc/inc/compiler.hxx')
-rw-r--r--sc/inc/compiler.hxx13
1 files changed, 5 insertions, 8 deletions
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index ee3c68981d39..0fed5cbae324 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -78,12 +78,6 @@ class ScRangeData;
class ScExternalRefManager;
class ScTokenArray;
-namespace sc {
-
-struct TokenStringContext;
-
-}
-
// constants and data types internal to compiler
/*
@@ -241,7 +235,10 @@ public:
virtual ~Convention();
virtual void makeRefStr(
- OUStringBuffer& rBuffer, const ScAddress& rPos, const sc::TokenStringContext& rCxt,
+ OUStringBuffer& rBuffer,
+ formula::FormulaGrammar::Grammar eGram,
+ const ScAddress& rPos,
+ const OUString& rErrRef, const std::vector<OUString>& rTabNames,
const ScComplexRefData& rRef, bool bSingleRef ) const = 0;
virtual ::com::sun::star::i18n::ParseResult
@@ -338,7 +335,7 @@ private:
bool mbCloseBrackets; // whether to close open brackets automatically, default TRUE
bool mbRewind; // whether symbol is to be rewound to some step during lexical analysis
std::vector<sal_uInt16> maExternalFiles;
- mutable sc::TokenStringContext* mpTokenStringCxt;
+ std::vector<OUString> maTabNames;
bool NextNewToken(bool bInArray = false);