From b6639b0e12e2bf914371124b870e55761b1155a2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 11 Nov 2015 12:51:09 +0200 Subject: sfx2: boost::ptr_vector->std::vector Change-Id: Icb9c44a6c251817a66276af32f0c2d1b26fb923a --- sfx2/source/inc/ctrlfactoryimpl.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sfx2/source/inc/ctrlfactoryimpl.hxx') 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 #include +#include class SfxMenuCtrlFactArr_Impl { - typedef boost::ptr_vector DataType; + typedef std::vector 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; }; -- cgit