From 04532617c7d264411563db24dc359326cc18eda7 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 4 Nov 2013 22:52:26 -0500 Subject: Avoid duplication of ScTokenArray during formula cell construction. For slightly less overhead. Change-Id: Ie5861d585d6e22fbd19dfd57edfebae4f4504839 --- sc/inc/documentimport.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/inc/documentimport.hxx') diff --git a/sc/inc/documentimport.hxx b/sc/inc/documentimport.hxx index d034292558a8..d2aa99411cfc 100644 --- a/sc/inc/documentimport.hxx +++ b/sc/inc/documentimport.hxx @@ -67,7 +67,7 @@ public: void setStringCell(const ScAddress& rPos, const OUString& rStr); void setEditCell(const ScAddress& rPos, EditTextObject* pEditText); void setFormulaCell(const ScAddress& rPos, const OUString& rFormula, formula::FormulaGrammar::Grammar eGrammar); - void setFormulaCell(const ScAddress& rPos, const ScTokenArray& rArray); + void setFormulaCell(const ScAddress& rPos, ScTokenArray* pArray); void setFormulaCell(const ScAddress& rPos, ScFormulaCell* pCell); void setMatrixCells( -- cgit