diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-10-08 19:35:32 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-10-08 20:48:00 +0200 |
commit | d7a22815e8e7e52702afc3ff418a859194a1af68 (patch) | |
tree | a482dae4c498b94838439489e0419b9709f9c00a /sw/inc/dcontact.hxx | |
parent | 9bc7de59a438087a3b57973126730cb48b06ca79 (diff) |
Replace some lists by vectors (sw)
Change-Id: Ie2f20b05ce987bb907c6f455da57bfc734dcb2da
Reviewed-on: https://gerrit.libreoffice.org/43244
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/inc/dcontact.hxx')
-rw-r--r-- | sw/inc/dcontact.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx index 80630c5f0464..d91c1cccfc0b 100644 --- a/sw/inc/dcontact.hxx +++ b/sw/inc/dcontact.hxx @@ -25,6 +25,7 @@ #include <fmtanchr.hxx> #include <frmfmt.hxx> #include <list> +#include <vector> #include <memory> #include "calbck.hxx" @@ -170,7 +171,7 @@ public: /** get data collection of anchored objects, handled by with contact */ - virtual void GetAnchoredObjs( std::list<SwAnchoredObject*>& _roAnchoredObjs ) const = 0; + virtual void GetAnchoredObjs( std::vector<SwAnchoredObject*>& _roAnchoredObjs ) const = 0; /** get minimum order number of anchored objects handled by with contact @@ -215,7 +216,7 @@ public: /** get data collection of anchored objects handled by with contact */ - virtual void GetAnchoredObjs( std::list<SwAnchoredObject*>& _roAnchoredObjs ) const override; + virtual void GetAnchoredObjs( std::vector<SwAnchoredObject*>& _roAnchoredObjs ) const override; }; /** new class for re-direct methods calls at a 'virtual' @@ -416,7 +417,7 @@ class SwDrawContact final : public SwContact */ static void GetTextObjectsFromFormat( std::list<SdrTextObj*>&, SwDoc* ); - virtual void GetAnchoredObjs( std::list<SwAnchoredObject*>& _roAnchoredObjs ) const override; + virtual void GetAnchoredObjs( std::vector<SwAnchoredObject*>& _roAnchoredObjs ) const override; }; #endif |