diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-11-24 07:50:17 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-24 14:59:16 +0100 |
commit | aa1398cc5c4453d1c7ca97eea0d536796de93bae (patch) | |
tree | 470e9a818a181f48c27f6e7703ba115a9231a03b /schema/libreoffice | |
parent | d3f2c61e3b9faf577f692ece76cd830f0f74b028 (diff) |
Replace list by vector in unodraw.cxx (sw)
Since m_aShapes is filled once during construction of SwXShapesEnumeration
with n times call to insert_iterator (equivalent here to a push_front)
then retrieving next element with begin() + pop_front
we can simplify this by using a vector with:
- n push_back during ctr
- back() + pop_back in nextElement()
Change-Id: I089c5fdfd59934b6cc1e392e9f0703b1ffaa234e
Reviewed-on: https://gerrit.libreoffice.org/63928
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'schema/libreoffice')
0 files changed, 0 insertions, 0 deletions