diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-11 12:51:09 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-12 08:01:34 +0200 |
commit | b6639b0e12e2bf914371124b870e55761b1155a2 (patch) | |
tree | ef1feae7910472bbb8deb5b135c20de421d4943c /sfx2/source/inc/ctrlfactoryimpl.hxx | |
parent | 51f9d14ae75bb01ebb79a5ed85eecabc794da490 (diff) |
sfx2: boost::ptr_vector->std::vector
Change-Id: Icb9c44a6c251817a66276af32f0c2d1b26fb923a
Diffstat (limited to 'sfx2/source/inc/ctrlfactoryimpl.hxx')
-rw-r--r-- | sfx2/source/inc/ctrlfactoryimpl.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sfx2/source/inc/ctrlfactoryimpl.hxx b/sfx2/source/inc/ctrlfactoryimpl.hxx index 81feb31a8ef6..28e92d87a094 100644 --- a/sfx2/source/inc/ctrlfactoryimpl.hxx +++ b/sfx2/source/inc/ctrlfactoryimpl.hxx @@ -25,17 +25,18 @@ #include <sfx2/tbxctrl.hxx> #include <boost/ptr_container/ptr_vector.hpp> +#include <vector> class SfxMenuCtrlFactArr_Impl { - typedef boost::ptr_vector<SfxMenuCtrlFactory> DataType; + typedef std::vector<SfxMenuCtrlFactory> DataType; DataType maData; public: const SfxMenuCtrlFactory& operator []( size_t i ) const; SfxMenuCtrlFactory& operator []( size_t i ); - void push_back( SfxMenuCtrlFactory* p ); + void push_back( const SfxMenuCtrlFactory& ); size_t size() const; }; |