summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-07-04 17:18:04 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-07-05 00:44:41 +0200
commita290f627c45130f361277f7d84b1098dd2c54d4e (patch)
treef4177481d9a5d396f75fb9f3f0b6cbbdbcd5d585 /sc/inc
parent862bb375f39bd8a9439d740a24a31a26e62ba581 (diff)
add iterator to ScMarkData
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/markdata.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/inc/markdata.hxx b/sc/inc/markdata.hxx
index 865907a04..5b4494552 100644
--- a/sc/inc/markdata.hxx
+++ b/sc/inc/markdata.hxx
@@ -116,6 +116,14 @@ public:
// adjust table marking:
void InsertTab( SCTAB nTab );
void DeleteTab( SCTAB nTab );
+
+ // iterators for table access
+ typedef std::set<SCTAB>::iterator iterator;
+ typedef std::set<SCTAB>::const_iterator const_iterator;
+ iterator begin();
+ iterator end();
+ const_iterator begin() const;
+ const_iterator end() const;
};