summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-11-14 21:51:39 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-18 08:31:56 -0500
commit34c8c0bb878be82a25cdaf1d7e623843f00fed6c (patch)
treee1f86eac1ee8147a452127c43b37ab2964f9e5e7 /sc/inc
parentc55a5b242585824d3c6c217f813dc9acfc3228b2 (diff)
Send broadcast range to the area broadcast slot machine.
Rather than iterating through cells in the range and broadcasting by cells individually. This way we can take advantage of the new group based area listeners and it's much faster this way. Change-Id: I8a4b49bce69d89b5b4698790befe4390871c755d
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/address.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 07ebe02c2537..bf4132821404 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -563,6 +563,9 @@ public:
SC_DLLPUBLIC void Justify();
SC_DLLPUBLIC void ExtendTo( const ScRange& rRange );
SC_DLLPUBLIC bool Intersects( const ScRange& rRange ) const; // do two ranges intersect?
+
+ ScRange Union( const ScRange& rOther ) const;
+
void PutInOrder();
inline bool operator==( const ScRange& rRange ) const;
inline bool operator!=( const ScRange& rRange ) const;