diff options
author | Matthias Hofmann <borim7@web.de> | 2013-06-02 14:14:37 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-06-03 10:36:25 +0000 |
commit | e89ab73fa01e825bd55908c9ba3697cb00cead16 (patch) | |
tree | 730264f3039ac634553f8939444d15ed72b4af6e /canvas | |
parent | Use the right control variable for index access (diff) | |
download | core-e89ab73fa01e825bd55908c9ba3697cb00cead16.tar.gz core-e89ab73fa01e825bd55908c9ba3697cb00cead16.zip |
remove ShapeList::getNextShape(SdrObject* pObj)
The getNextShape(pObj) method is just used for iterating over the complete
ShapeList. But the complexity for this operation is exponential.
When using getNextShape() iterating over the list have linear complexity.
In short: it is much faster.
Change-Id: I3896af2247f348153d62f2bcdd207c5a75239689
Reviewed-on: https://gerrit.libreoffice.org/4132
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
Diffstat (limited to 'canvas')
0 files changed, 0 insertions, 0 deletions