diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-10-25 10:02:24 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-10-26 16:09:19 +0100 |
commit | 192ca71f07390af6528531c0c4c9254c97a98cfc (patch) | |
tree | 5fa1b7dfd7100e4426fd18926806c2c3f46bf04a /basic/inc | |
parent | c791bef561dcf38a4b47dd06534914f7c28ae67e (diff) |
basic: replace boost::ptr_vector with std::vector<std::unqiue_ptr>
Change-Id: Ieba2fb34e0279871d36b4fe80d9de76e614b5cde
Diffstat (limited to 'basic/inc')
-rw-r--r-- | basic/inc/sbxbase.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/basic/inc/sbxbase.hxx b/basic/inc/sbxbase.hxx index 21bb7d4a3686..81776435c852 100644 --- a/basic/inc/sbxbase.hxx +++ b/basic/inc/sbxbase.hxx @@ -23,21 +23,24 @@ #include <i18nlangtag/lang.h> #include <basic/sbxdef.hxx> #include <basic/basicdllapi.h> -#include <boost/ptr_container/ptr_vector.hpp> + #include <boost/noncopyable.hpp> +#include <memory> +#include <vector> + class SbxFactory; class SbxVariable; class SbxBasicFormater; -typedef boost::ptr_vector<SbxFactory> SbxFacs; +typedef std::vector<std::unique_ptr<SbxFactory>> SbxFactories; // AppData structure for SBX: struct SbxAppData : private ::boost::noncopyable { SbxError eSbxError; // Error code - SbxFacs aFacs; // Factories + SbxFactories m_Factories; SbxBasicFormater *pBasicFormater; // Pointer to Format()-Command helper class LanguageType eBasicFormaterLangType; |