diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-07-20 13:32:03 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-20 13:47:41 +0200 |
commit | a0021a7fbf3b9799829f4a27efe20e992e8709f6 (patch) | |
tree | 2be20369e1705e874811f53a6dea123ed4cb625c /include/editeng/svxrtf.hxx | |
parent | d2726959ff54f1c0b19dc4e605bd3ebadbdc0283 (diff) |
editeng: replace boost::ptr_vector with std::vector<std::unique_ptr>>
Change-Id: I29923bc78100d4b196d285dd78f664f7bcf3df19
Diffstat (limited to 'include/editeng/svxrtf.hxx')
-rw-r--r-- | include/editeng/svxrtf.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx index c4b1ef73d1f8..19a3f84e2dec 100644 --- a/include/editeng/svxrtf.hxx +++ b/include/editeng/svxrtf.hxx @@ -31,7 +31,6 @@ #include <map> #include <utility> #include <memory> -#include <boost/ptr_container/ptr_vector.hpp> namespace vcl { class Font; } class Color; @@ -39,7 +38,7 @@ class Graphic; class DateTime; struct SvxRTFStyleType; class SvxRTFItemStackType; -class SvxRTFItemStackList : public boost::ptr_vector<SvxRTFItemStackType> {}; +class SvxRTFItemStackList : public std::vector<std::unique_ptr<SvxRTFItemStackType>> {}; namespace com { namespace sun { namespace star { namespace document { @@ -176,7 +175,7 @@ class EDITENG_DLLPUBLIC SvxRTFParser : public SvRTFParser SvxRTFFontTbl m_FontTable; SvxRTFStyleTbl m_StyleTable; SvxRTFItemStack aAttrStack; - SvxRTFItemStackList aAttrSetList; + SvxRTFItemStackList m_AttrSetList; RTFPlainAttrMapIds aPlainMap; RTFPardAttrMapIds aPardMap; @@ -326,13 +325,13 @@ class EDITENG_DLLPUBLIC SvxRTFItemStackType SfxItemSet aAttrSet; SvxNodeIdx *pSttNd, *pEndNd; sal_Int32 nSttCnt, nEndCnt; - SvxRTFItemStackList* pChildList; + SvxRTFItemStackList* m_pChildList; sal_uInt16 nStyleNo; SvxRTFItemStackType( SfxItemPool&, const sal_uInt16* pWhichRange, const SvxPosition& ); - void Add( SvxRTFItemStackType* ); + void Add(std::unique_ptr<SvxRTFItemStackType>); void Compress( const SvxRTFParser& ); public: |