From de9dc7b88d7d7437ebc583b029fb46e2f1db8319 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 10 Jul 2013 19:46:46 -0400 Subject: Move more methods to SharedFormulaUtil. Change-Id: Ibd58f5d15292805d50823223d1ebe94e7b51b808 --- sc/source/core/tool/sharedformula.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sc/source/core/tool/sharedformula.cxx') 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) -- cgit v1.2.3