summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-05-21 11:14:44 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-05-21 16:35:37 -0400
commit243457af5f06232afe92ad056036656dd4c170f5 (patch)
tree0c1f51896bb46cc02869ea7ecf7446119caee623 /sc/inc
parentd9deddcb3ff8cb3114536a625e2b8426dc99b59a (diff)
Avoid unnecessary cloning of ScRawToken during token check.
Change-Id: Ia980054437394ef48f7df655411f81d20b9cfa32
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/compiler.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index 8b5158c81b14..61008358b235 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -317,7 +317,7 @@ private:
sal_Unicode cSymbol[MAXSTRLEN]; // current Symbol
OUString aFormula; // formula source code
sal_Int32 nSrcPos; // tokenizer position (source code)
- mutable ScRawTokenRef pRawToken;
+ mutable ScRawToken maRawToken;
const CharClass* pCharClass; // which character classification is used for parseAnyToken
sal_uInt16 mnPredetectedReference; // reference when reading ODF, 0 (none), 1 (single) or 2 (double)