From 2624788f23d265f0dfeda544f57b9d90a2ab2979 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 12 Aug 2013 15:23:28 -0400 Subject: Do the splitting of formula groups. Change-Id: I5a8661895b558b67abc19cdc39de9eb027bc1c34 --- sc/inc/sharedformula.hxx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sc/inc/sharedformula.hxx') diff --git a/sc/inc/sharedformula.hxx b/sc/inc/sharedformula.hxx index 9423384faab3..0b49751e7bd8 100644 --- a/sc/inc/sharedformula.hxx +++ b/sc/inc/sharedformula.hxx @@ -63,7 +63,15 @@ public: */ static void splitFormulaCellGroup(const CellStoreType::position_type& aPos); - static void splitFormulaCellGroups(CellStoreType& rCells, const std::vector& rBounds); + /** + * Split existing shared formula ranges at specified row positions. + * + * @param rCells cell storage container + * @param rBounds row positions at which to split existing shared formula + * ranges. Note that this method will directly modify this + * parameter to sort and remove duplicates. + */ + static void splitFormulaCellGroups(CellStoreType& rCells, std::vector& rBounds); /** * See if two specified adjacent formula cells can be merged, and if they -- cgit v1.2.3