summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-10-02 22:57:52 +0200
committerMichael Stahl <mstahl@redhat.com>2015-10-02 23:31:28 +0200
commit2cf9bc80fb472004c8c30a80a2ac0724089461e5 (patch)
treedf3e73861d3c26df9b3a5a1571789371e3983314 /sw/inc
parent38ea2d0ecc1d59844f9371ae6da7980c4e3a9e10 (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.hxx6
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
{