summaryrefslogtreecommitdiff
path: root/sc/inc/sharedformula.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-07-11 00:46:46 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-07-11 12:30:16 -0400
commit67ffff37ed16dff6529daf36835554f54a28fe5e (patch)
tree0c67b55817631941bb57266237892d6e80269ed2 /sc/inc/sharedformula.hxx
parentd35cf5e19652989419aa598119ccd978307111fe (diff)
Move UnshareFormulaCell() out of ScColumn into SharedFormulaUtil.
This one too doesn't operate on column. Change-Id: Ieb23641ca4860d6f137b266813ad56f4984e0523
Diffstat (limited to 'sc/inc/sharedformula.hxx')
-rw-r--r--sc/inc/sharedformula.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sc/inc/sharedformula.hxx b/sc/inc/sharedformula.hxx
index fa75e8058199..866c22f6486d 100644
--- a/sc/inc/sharedformula.hxx
+++ b/sc/inc/sharedformula.hxx
@@ -83,6 +83,15 @@ public:
* @param aPos position of cell to examine.
*/
static void joinFormulaCellAbove(const CellStoreType::position_type& aPos);
+
+ /**
+ * Turn a shared formula cell into a non-shared one, and split it off from
+ * the adjacent formula cell groups.
+ *
+ * @param aPos position of cell to examine
+ * @param rCell formula cell instance
+ */
+ static void unshareFormulaCell(const CellStoreType::position_type& aPos, ScFormulaCell& rCell);
};
}