diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-10-02 22:57:52 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-10-02 23:31:28 +0200 |
commit | 2cf9bc80fb472004c8c30a80a2ac0724089461e5 (patch) | |
tree | df3e73861d3c26df9b3a5a1571789371e3983314 /sw/inc | |
parent | 38ea2d0ecc1d59844f9371ae6da7980c4e3a9e10 (diff) |
sw: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: I5add8d2644bf9cc0a4a48b86028da6c44844d715
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/authfld.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx index 73e1d09fc95e..3cabd5cdeead 100644 --- a/sw/inc/authfld.hxx +++ b/sw/inc/authfld.hxx @@ -22,10 +22,12 @@ #include "swdllapi.h" #include <fldbas.hxx> #include <toxe.hxx> -#include <vector> #include <boost/ptr_container/ptr_vector.hpp> #include <sal/log.hxx> +#include <memory> +#include <vector> + class SwAuthEntry { OUString aAuthFields[AUTH_FIELD_END]; @@ -55,7 +57,7 @@ struct SwTOXSortKey class SwAuthorityField; typedef boost::ptr_vector<SwTOXSortKey> SortKeyArr; -typedef boost::ptr_vector<SwAuthEntry> SwAuthDataArr; +typedef std::vector<std::unique_ptr<SwAuthEntry>> SwAuthDataArr; class SW_DLLPUBLIC SwAuthorityFieldType : public SwFieldType { |