summaryrefslogtreecommitdiff
path: root/sc/inc/markdata.hxx
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
commit1fed62c9e3f875c077b98e0282f8cf566e5b0cc8 (patch)
treebb93e38b5da8c8bde8ac39c4d58b713e9688fc40 /sc/inc/markdata.hxx
parentf84ebfe90ce67e545cf09de8223dddf6d78671a5 (diff)
add iterator to ScMarkData
Diffstat (limited to 'sc/inc/markdata.hxx')
-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 0bd009a23d7f..784c61317d8f 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;
};