diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-17 17:37:07 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-18 08:31:57 -0500 |
commit | 6b4e767cf90e4f384a6b3dd43aa51c09b500b97b (patch) | |
tree | a9a06d522bab185c7df24a6958daf9e59dbefa6a /sc/inc/table.hxx | |
parent | Avoid unnecessary broadcasting when deleting cells prior to pasting. (diff) | |
download | core-6b4e767cf90e4f384a6b3dd43aa51c09b500b97b.tar.gz core-6b4e767cf90e4f384a6b3dd43aa51c09b500b97b.zip |
Use group-area listeners during copy & paste if we can.
This should reduce the number of area listeners generated esp. when
replicating tons of formula cells down the column.
Change-Id: I1ea8f51f667e6b0e1a646f84d79f5e8430b478d5
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r-- | sc/inc/table.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index ea1e2a30ea26..b1e06e102f28 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -437,7 +437,8 @@ public: SCsCOL nDx, SCsROW nDy, ScTable* pTable ); void StartListeningInArea( - sc::StartListeningContext& rCxt, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ); + sc::StartListeningContext& rStartCxt, sc::EndListeningContext& rEndCxt, + SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ); void SetDirtyFromClip( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, sc::ColumnSpanSet& rBroadcastSpans ); |