summaryrefslogtreecommitdiffstats
path: root/sc/inc/column.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-11-06 16:13:37 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-03-14 15:35:47 -0400
commit2f00e94bdaf42d84881c067debb1d3cd3fe1c60e (patch)
tree7a9ca6c350c4e65f22dd9f1e4bc22a2946fd4b5d /sc/inc/column.hxx
parentRedundant use of 'public' modifier. (diff)
downloadcore-2f00e94bdaf42d84881c067debb1d3cd3fe1c60e.tar.gz
core-2f00e94bdaf42d84881c067debb1d3cd3fe1c60e.zip
Identify all places that modify the cell array & call CellStorageModified().
CellStorageModified() is empty at the moment. Change-Id: I9498b4d7819bba1778cbab644e7b46ce25d66ae4
Diffstat (limited to 'sc/inc/column.hxx')
-rw-r--r--sc/inc/column.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index 6c8e0e04a90f..257cb0e0a1f9 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -371,6 +371,8 @@ public:
xub_StrLen GetMaxNumberStringLen( sal_uInt16& nPrecision,
SCROW nRowStart, SCROW nRowEnd ) const;
+ void SetTextWidth(SCROW nRow, sal_uInt16 nWidth);
+
private:
ScBaseCell* CloneCell(SCSIZE nIndex, sal_uInt16 nFlags, ScDocument& rDestDoc, const ScAddress& rDestPos) const;
@@ -378,8 +380,10 @@ private:
SCROW FindNextVisibleRow(SCROW nRow, bool bForward) const;
/**
- * Called whenever the state of cell array gets modified i.e. a new cell
- * is inserted, a cell is moved or removed, cells are swapped, and so on.
+ * Called whenever the state of cell array gets modified i.e. new cell
+ * insertion, cell removal or relocation, cell value update and so on.
+ *
+ * Call this only from those methods where maItems is modified directly.
*/
void CellStorageModified();
};