diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-04 10:19:47 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-04 10:22:27 -0500 |
commit | 059f43f5756076c7d349e9b7d66e3605a948b508 (patch) | |
tree | 910ce1aea341c9b8e10d910658a3964ab4c024df /sc/inc/compiler.hxx | |
parent | fdo#35143 PDF import: Reimplementation of whitespace detection function (diff) | |
download | core-059f43f5756076c7d349e9b7d66e3605a948b508.tar.gz core-059f43f5756076c7d349e9b7d66e3605a948b508.zip |
Pre-compile all compiler-ready sheet names to avoid doing it repeatedly.
This reduces the lag after updating range names especially with a large
number of range names.
Change-Id: Idbfa3b6447b693a566192828e7137b2aeaa0d1f5
Diffstat (limited to 'sc/inc/compiler.hxx')
-rw-r--r-- | sc/inc/compiler.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx index e258532d81cc..4632641353d5 100644 --- a/sc/inc/compiler.hxx +++ b/sc/inc/compiler.hxx @@ -78,6 +78,12 @@ class ScRangeData; class ScExternalRefManager; class ScTokenArray; +namespace sc { + +struct CompileFormulaContext; + +} + // constants and data types internal to compiler /* @@ -356,6 +362,8 @@ private: static void InitCharClassEnglish(); public: + ScCompiler( sc::CompileFormulaContext& rCxt, const ScAddress& rPos ); + ScCompiler( ScDocument* pDocument, const ScAddress&); ScCompiler( ScDocument* pDocument, const ScAddress&,ScTokenArray& rArr); |