summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun4.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-03-21 23:36:50 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-03-22 21:49:24 -0400
commit6cc6f68895b99dca9e9785b7cb77a853c0eb2178 (patch)
tree5b3b776a6c95d7f1e682b09a946ea36687d793b1 /sc/source/ui/view/viewfun4.cxx
parent304fabda76364301956333120bf86b5a0ea9fe04 (diff)
More on reducing use of ScDocument::PutCell().
Change-Id: I7a911f13cddea829884aa9558d3be6a5e281c144
Diffstat (limited to 'sc/source/ui/view/viewfun4.cxx')
-rw-r--r--sc/source/ui/view/viewfun4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx
index ea057782aa39..944c508de22c 100644
--- a/sc/source/ui/view/viewfun4.cxx
+++ b/sc/source/ui/view/viewfun4.cxx
@@ -259,8 +259,8 @@ void ScViewFunc::DoRefConversion( sal_Bool bRecord )
ScTokenArray* pArr = aComp.CompileString( aNew );
ScFormulaCell* pNewCell = new ScFormulaCell( pDoc, aPos,
pArr,formula::FormulaGrammar::GRAM_DEFAULT, MM_NONE );
- pDoc->PutCell( aPos, pNewCell );
- bOk = sal_True;
+ pDoc->SetFormulaCell(aPos, pNewCell);
+ bOk = true;
}
}
pCell = aIter.GetNext();