diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2011-12-13 19:18:39 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2011-12-13 20:58:39 +0100 |
commit | 7b7c3b6e1102e7f8856f047fe475ddbc53438f4e (patch) | |
tree | 41c1f1a879bdaa0bf329ec159923d58b918ec90d /basegfx/source/polygon/b2dpolygon.cxx | |
parent | b43fb02c9b7afcbb41b5140b80e97447b1a29945 (diff) |
More efficient insertion of B3DPolygons
* some cleanup - removed ugly-as-hell exposure of only parts of the
internal data struct on B2DPolygon (and reworked the only client
of that code)
* added stl-style begin/end to B3DPolyPolygon as well, mirroring
B2DPolyPolygon, plus adapting the insert() func to make use of
that (avoiding loads of temporaries)
Diffstat (limited to 'basegfx/source/polygon/b2dpolygon.cxx')
-rw-r--r-- | basegfx/source/polygon/b2dpolygon.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/basegfx/source/polygon/b2dpolygon.cxx b/basegfx/source/polygon/b2dpolygon.cxx index e9bbb97c1234..3bc0401e271e 100644 --- a/basegfx/source/polygon/b2dpolygon.cxx +++ b/basegfx/source/polygon/b2dpolygon.cxx @@ -1628,25 +1628,6 @@ namespace basegfx } } - const B2DPoint* B2DPolygon::begin() const - { - return mpPolygon->begin(); - } - - const B2DPoint* B2DPolygon::end() const - { - return mpPolygon->end(); - } - - B2DPoint* B2DPolygon::begin() - { - return mpPolygon->begin(); - } - - B2DPoint* B2DPolygon::end() - { - return mpPolygon->end(); - } } // end of namespace basegfx ////////////////////////////////////////////////////////////////////////////// |