diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-12 14:18:56 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-12 23:25:16 +0200 |
commit | 586df9f1ec5a733082ced2a51f416c8baa2cc914 (patch) | |
tree | b44d7fd03bca760021d11722797593dc66da5f82 /sw | |
parent | c2fc98fa9e46cd18201d3940beb67d74630c8604 (diff) |
Convert SV_DECL_PTRARR_DEL(SvxRTFItemStackList) to boost::ptr_vector
I had to make the destructor of SvxRTFItemStackType public.
The combination of friend class, boost, and a private destructor
does not make OSX's gcc happy.
Change-Id: I2d9a3bff3c5edaf5435fb543389a9a2822c6b2ad
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/rtf/swparrtf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/rtf/swparrtf.cxx b/sw/source/filter/rtf/swparrtf.cxx index 396de09a7fb4..5a73aa1bf4d7 100644 --- a/sw/source/filter/rtf/swparrtf.cxx +++ b/sw/source/filter/rtf/swparrtf.cxx @@ -3589,7 +3589,7 @@ void SwRTFParser::ReadHeaderFooter( int nToken, SwPageDesc* pPageDesc ) // wurde an der Position ein Escapement aufgespannt, so entferne // das jetzt. Fussnoten sind bei uns immer hochgestellt. - SvxRTFItemStackTypePtr pTmp = aSaveStack.empty() ? 0 : aSaveStack.back(); + SvxRTFItemStackType* pTmp = aSaveStack.empty() ? 0 : aSaveStack.back(); if( pTmp && pTmp->GetSttNodeIdx() == pPam->GetPoint()->nNode.GetIndex() && pTmp->GetSttCnt() == nPos ) |