diff options
author | Noel Grandin <noel@peralex.com> | 2012-07-13 15:28:03 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-17 15:33:37 +0200 |
commit | 7bef4fe2e22642d552cf3f431d6ee3ba456b9101 (patch) | |
tree | 03c5e8632fdcb5b8a53962c6dbb803cf4c3b02b7 /sw/inc | |
parent | 22faf8438f01d67fe3381aa353e5187f36ce4098 (diff) |
Convert SV_DECL_PTRARR_DEL( SwFmtCollConditions) to boost::ptr_vector
Change-Id: I45c66246de9d5608b630ceeb11535faf28f9c073
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/fmtcol.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/inc/fmtcol.hxx b/sw/inc/fmtcol.hxx index 80bfbf87235e..c54480e5d713 100644 --- a/sw/inc/fmtcol.hxx +++ b/sw/inc/fmtcol.hxx @@ -28,10 +28,10 @@ #ifndef _FMTCOL_HXX #define _FMTCOL_HXX -#include <svl/svarray.hxx> #include "swdllapi.h" #include <format.hxx> #include <swtypes.hxx> // For MAXLEVEL. +#include <boost/ptr_container/ptr_vector.hpp> class SwDoc; // For friend. @@ -231,8 +231,7 @@ public: void RegisterToFormat( SwFmt& ); }; -typedef SwCollCondition* SwCollConditionPtr; -SV_DECL_PTRARR_DEL( SwFmtCollConditions, SwCollConditionPtr, 0 ) +class SwFmtCollConditions : public boost::ptr_vector<SwCollCondition> {}; class SW_DLLPUBLIC SwConditionTxtFmtColl : public SwTxtFmtColl { |