diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-10 19:46:46 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-11 00:25:38 -0400 |
commit | de9dc7b88d7d7437ebc583b029fb46e2f1db8319 (patch) | |
tree | 95915e2b3255654f45db4a597c575d1341370c8f /sc/source/core/tool/sharedformula.cxx | |
parent | 1fd0ab0c53e73b50857e5bfed4b307468202354f (diff) |
Move more methods to SharedFormulaUtil.
Change-Id: Ibd58f5d15292805d50823223d1ebe94e7b51b808
Diffstat (limited to 'sc/source/core/tool/sharedformula.cxx')
-rw-r--r-- | sc/source/core/tool/sharedformula.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sc/source/core/tool/sharedformula.cxx b/sc/source/core/tool/sharedformula.cxx index c1bc56447dd6..5cdfc78522b5 100644 --- a/sc/source/core/tool/sharedformula.cxx +++ b/sc/source/core/tool/sharedformula.cxx @@ -62,9 +62,7 @@ void SharedFormulaUtil::splitFormulaCellGroup(const CellStoreType::position_type } } -namespace { - -void joinFormulaCells(const sc::CellStoreType::position_type& rPos, ScFormulaCell& rCell1, ScFormulaCell& rCell2) +void SharedFormulaUtil::joinFormulaCells(const CellStoreType::position_type& rPos, ScFormulaCell& rCell1, ScFormulaCell& rCell2) { ScFormulaCell::CompareState eState = rCell1.CompareByTokenArray(rCell2); if (eState == ScFormulaCell::NotEqual) @@ -123,8 +121,6 @@ void joinFormulaCells(const sc::CellStoreType::position_type& rPos, ScFormulaCel } } -} - void SharedFormulaUtil::joinFormulaCellAbove(const CellStoreType::position_type& aPos) { if (aPos.first->type != sc::element_type_formula) |