diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-10 16:35:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-11 11:35:40 +0200 |
commit | ea2ae023cf0ca44b445aead93a47b8154f0cc818 (patch) | |
tree | e2178965e46114e9f67214f87c7ec0e8c3614987 /framework/inc/xml | |
parent | 2a2b9920c1ccd9cfb2ec474ceffed7c5d78ecb00 (diff) |
framework: boost::ptr_vector->std::vector<std::unique_ptr>
Change-Id: If9981b141a591f23e03479c90694e6ffa78f2cb8
Diffstat (limited to 'framework/inc/xml')
-rw-r--r-- | framework/inc/xml/imagesconfiguration.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/inc/xml/imagesconfiguration.hxx b/framework/inc/xml/imagesconfiguration.hxx index a79d9c9b8c73..9c672f38126c 100644 --- a/framework/inc/xml/imagesconfiguration.hxx +++ b/framework/inc/xml/imagesconfiguration.hxx @@ -29,6 +29,7 @@ #include <com/sun/star/uno/XComponentContext.hpp> #include <vector> +#include <memory> #include <boost/ptr_container/ptr_vector.hpp> namespace framework @@ -54,7 +55,7 @@ struct ExternalImageItemDescriptor OUString aURL; // a URL to an external bitmap }; -typedef boost::ptr_vector<ImageItemDescriptor> ImageItemListDescriptor; +typedef std::vector<std::unique_ptr<ImageItemDescriptor> > ImageItemListDescriptor; typedef boost::ptr_vector<ExternalImageItemDescriptor> ExternalImageItemListDescriptor; |