summaryrefslogtreecommitdiff
path: root/sw/inc/ToxLinkProcessor.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-09-16 12:40:14 +0200
committerMichael Stahl <mstahl@redhat.com>2015-09-16 13:04:08 +0200
commit0a601a0cb14dc0f60e00eb46929f53eebe59a6af (patch)
treec18f39db92f2179c7d54da6cddfb1920196def11 /sw/inc/ToxLinkProcessor.hxx
parent529f5441a7633a76f0a393e9f6dcb83b0b2e408c (diff)
sw: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: I3bfb0933d5233b89f24773500f07fdc92d0011e9
Diffstat (limited to 'sw/inc/ToxLinkProcessor.hxx')
-rw-r--r--sw/inc/ToxLinkProcessor.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/inc/ToxLinkProcessor.hxx b/sw/inc/ToxLinkProcessor.hxx
index 3887121e06dc..699c0ec9887e 100644
--- a/sw/inc/ToxLinkProcessor.hxx
+++ b/sw/inc/ToxLinkProcessor.hxx
@@ -13,7 +13,8 @@
#include "fmtinfmt.hxx"
#include "rtl/ustring.hxx"
-#include <boost/ptr_container/ptr_vector.hpp>
+#include <memory>
+#include <vector>
class SwTextNode;
@@ -76,9 +77,9 @@ private:
sal_Int32 mEndTextPos;
};
- boost::ptr_vector<ClosedLink> mClosedLinks;
+ std::vector<std::unique_ptr<ClosedLink>> m_ClosedLinks;
- boost::ptr_vector<StartedLink> mStartedLinks;
+ std::vector<std::unique_ptr<StartedLink>> m_StartedLinks;
friend class ::ToxLinkProcessorTest;
};