diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-08-31 16:42:16 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2016-08-31 09:41:15 +0000 |
commit | ecafca50e9a6d0fac3c809f275342f571a1470df (patch) | |
tree | 1385226c71f473bdd9e2fe2c1a6df78ea4ad355e /starmath/inc | |
parent | 5b473e72787d2b61601ecea59ad8f5bf5f738229 (diff) |
Replace use of our own SmNodeIterator with range-based for loop
in starmath/source/cursor.cxx and starmath/qa/cppunit/mock-visitor.hxx.
Change-Id: I7733d5d17bb03532d6c4f1d6967c69d65bc3bede
Reviewed-on: https://gerrit.libreoffice.org/28538
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/node.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx index 1e61304281c4..3ecacb1988b7 100644 --- a/starmath/inc/node.hxx +++ b/starmath/inc/node.hxx @@ -307,6 +307,9 @@ public: virtual void GetAccessibleText( OUStringBuffer &rText ) const override; + SmNodeArray::iterator begin() {return aSubNodes.begin();} + SmNodeArray::iterator end() {return aSubNodes.end();} + /** Get the index of a child node * * Returns -1, if pSubNode isn't a subnode of this. |