diff options
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(); } |