diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-06-14 18:22:21 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-06-14 18:23:02 +0300 |
commit | b3dfd7988a07a0a60bd7b7282411101ef3546526 (patch) | |
tree | 22b294fae5595adc5261e216abcb5766cdc648c1 /include | |
parent | 46b2330bd07cb6668af7a3d48ace1a42b5667521 (diff) |
Use pointer instead of reference
Change-Id: I087f0fe99e6631d5b62ea773c83404e11d64d060
Diffstat (limited to 'include')
-rw-r--r-- | include/formula/tokenarray.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/formula/tokenarray.hxx b/include/formula/tokenarray.hxx index 0fbfd30e0b27..72cb0e5a400a 100644 --- a/include/formula/tokenarray.hxx +++ b/include/formula/tokenarray.hxx @@ -412,12 +412,12 @@ class FORMULA_DLLPUBLIC FormulaTokenArrayPlainIterator friend class FormulaCompiler; private: - const FormulaTokenArray& mrFTA; + const FormulaTokenArray* mpFTA; sal_uInt16 mnIndex; // Current step index public: FormulaTokenArrayPlainIterator( const FormulaTokenArray& rFTA ) : - mrFTA( rFTA ), + mpFTA( &rFTA ), mnIndex( 0 ) { } @@ -464,7 +464,7 @@ public: FormulaToken* LastRPN() { - mnIndex = mrFTA.nRPN; + mnIndex = mpFTA->nRPN; return PrevRPN(); } |