From a0021a7fbf3b9799829f4a27efe20e992e8709f6 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 20 Jul 2015 13:32:03 +0200 Subject: editeng: replace boost::ptr_vector with std::vector> Change-Id: I29923bc78100d4b196d285dd78f664f7bcf3df19 --- include/editeng/svxrtf.hxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'include/editeng/svxrtf.hxx') 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 #include #include -#include namespace vcl { class Font; } class Color; @@ -39,7 +38,7 @@ class Graphic; class DateTime; struct SvxRTFStyleType; class SvxRTFItemStackType; -class SvxRTFItemStackList : public boost::ptr_vector {}; +class SvxRTFItemStackList : public std::vector> {}; 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); void Compress( const SvxRTFParser& ); public: -- cgit