summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/labrec.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-10-05 22:48:53 +0200
committerMichael Stahl <mstahl@redhat.com>2015-10-05 23:28:08 +0200
commit3bcb74175b959809d1dd85a4f6a9f636366b81c1 (patch)
tree31af7338126a50217032181a4f21043b4ce8eaef /sw/source/uibase/inc/labrec.hxx
parent89ed0427bdaa74efbde698b81ceb39b1be0c1e3d (diff)
sw: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: I1e6ccafea4c876b27e0a57e76c93f075f67a5f54
Diffstat (limited to 'sw/source/uibase/inc/labrec.hxx')
-rw-r--r--sw/source/uibase/inc/labrec.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/labrec.hxx b/sw/source/uibase/inc/labrec.hxx
index 3e5f124b1489..1a133ed8e451 100644
--- a/sw/source/uibase/inc/labrec.hxx
+++ b/sw/source/uibase/inc/labrec.hxx
@@ -19,7 +19,9 @@
#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_LABREC_HXX
#define INCLUDED_SW_SOURCE_UIBASE_INC_LABREC_HXX
-#include <boost/ptr_container/ptr_vector.hpp>
+#include <memory>
+#include <vector>
+
class SwLabItem;
@@ -46,7 +48,7 @@ public:
bool bCont;
};
-typedef boost::ptr_vector<SwLabRec> SwLabRecs;
+typedef std::vector<std::unique_ptr<SwLabRec>> SwLabRecs;
#endif