diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-09-16 12:40:14 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-16 13:04:08 +0200 |
commit | 0a601a0cb14dc0f60e00eb46929f53eebe59a6af (patch) | |
tree | c18f39db92f2179c7d54da6cddfb1920196def11 /sw/inc | |
parent | 529f5441a7633a76f0a393e9f6dcb83b0b2e408c (diff) |
sw: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: I3bfb0933d5233b89f24773500f07fdc92d0011e9
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/ToxLinkProcessor.hxx | 7 |
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; }; |