summaryrefslogtreecommitdiffstats
path: root/sc/inc/column.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-11-06 13:53:57 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-03-14 15:35:47 -0400
commita8f3d75184e52f4c379754f9965488aa4ff832f8 (patch)
tree157a5d300501f33a93063b7aef0fae7f508968a1 /sc/inc/column.hxx
parentUpdate mdds to 0.7.1. (diff)
downloadcore-a8f3d75184e52f4c379754f9965488aa4ff832f8.tar.gz
core-a8f3d75184e52f4c379754f9965488aa4ff832f8.zip
Redundant use of 'public' modifier.
Plus added a new method that will get called whenever cell array state changes. It's not used yet. Change-Id: I96719db0460bfb72d8dbe98a80a3880d8f279c33
Diffstat (limited to 'sc/inc/column.hxx')
-rw-r--r--sc/inc/column.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index 35316cdc1b24..6c8e0e04a90f 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -342,7 +342,6 @@ public:
SCROW nStartRow, SCROW nEndRow, sal_uInt16* pHeight, OutputDevice* pDev,
double nPPTX, double nPPTY, const Fraction& rZoomX, const Fraction& rZoomY,
bool bShrink, sal_uInt16 nMinHeight, SCROW nMinStart) const;
-public:
/// Including current, may return -1
SCsROW GetNextUnprotected( SCROW nRow, bool bUp ) const;
@@ -377,6 +376,12 @@ private:
SCROW FindNextVisibleRowWithContent(SCROW nRow, bool bForward) const;
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.
+ */
+ void CellStorageModified();
};