summaryrefslogtreecommitdiff
path: root/sc/inc/columnset.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-04-19 11:03:15 +0200
committerEike Rathke <erack@redhat.com>2016-04-19 11:08:01 +0200
commit35abb3aacb4072171e8c580e1306e3c44e368646 (patch)
tree9ab5451d329633596b8bf10df4644d74eb2504b0 /sc/inc/columnset.hxx
parent97dee1df42dc2933d1350eb1e67361674614417a (diff)
call StartNeededListeners() only on affected columns, tdf#99322 follow-up
Iterating over the entire document is an unnecessary performancce penalty if the set of affected columns is already known. Change-Id: I84598066f878ca4615d6a5e1d6c70ebaa686e446
Diffstat (limited to 'sc/inc/columnset.hxx')
-rw-r--r--sc/inc/columnset.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/columnset.hxx b/sc/inc/columnset.hxx
index 3ee8fbaed933..ddf08ba8f860 100644
--- a/sc/inc/columnset.hxx
+++ b/sc/inc/columnset.hxx
@@ -30,6 +30,8 @@ class ColumnSet
public:
void set(SCTAB nTab, SCCOL nCol);
void getColumns(SCTAB nTab, std::vector<SCCOL>& rCols) const;
+ bool hasTab( SCTAB nTab ) const;
+ bool empty() const;
};
}