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 13:25:39 -0400
commit27a84e96005c502e5d1f4164cd7befbb6230d666 (patch)
treea2787ed80d110f6151df19a6472d6cd8bbbdf3e2 /sc/inc
parent50454f382215d63855684402b4258183be8d0e4c (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)