summaryrefslogtreecommitdiff
path: root/sc/inc/columnspanset.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-11-04 17:44:52 +0100
committerEike Rathke <erack@redhat.com>2016-11-04 17:45:25 +0100
commit44523738f094ff3987e85ea0c47b8c636bbe5786 (patch)
tree6a6310f66f3cc55863714e0c49d7c9d51aa2055a /sc/inc/columnspanset.hxx
parent54dc3dd96bf720a81eef81864848e58c5db860f8 (diff)
bail out early in ScColumn::UpdateSelectionFunction() if nothing is marked
... which happens if there are multi-marks in non-adjacent columns. Change-Id: Ic8cf0fb0071f793fa91c506a56b01f2833fe5cec
Diffstat (limited to 'sc/inc/columnspanset.hxx')
-rw-r--r--sc/inc/columnspanset.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/columnspanset.hxx b/sc/inc/columnspanset.hxx
index 7b4297927796..fc6f5d4f49f2 100644
--- a/sc/inc/columnspanset.hxx
+++ b/sc/inc/columnspanset.hxx
@@ -149,6 +149,9 @@ public:
void swap( SingleColumnSpanSet& r );
+ /** Whether there isn't any row tagged. */
+ bool empty() const;
+
private:
ColumnSpansType maSpans;
};