diff options
author | Noel Grandin <noel@peralex.com> | 2012-05-16 10:38:38 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-05-25 00:17:04 +0200 |
commit | 39f5e66eadc66272fca566643bcf9577f3b6e9fe (patch) | |
tree | b7c281acde89bc6fb30f434df9dcbba783f3960b /sw/inc/rubylist.hxx | |
parent | Convert SV_DECL_PTRARR(SwSections) to std::vector (diff) | |
download | core-39f5e66eadc66272fca566643bcf9577f3b6e9fe.tar.gz core-39f5e66eadc66272fca566643bcf9577f3b6e9fe.zip |
Convert SV_DECL_PTRARR_DEL(SwRubyList) to boost::ptr_vector
Change-Id: Ib983bf7517a35392c0468cb763de67d5b45f4673
Diffstat (limited to 'sw/inc/rubylist.hxx')
-rw-r--r-- | sw/inc/rubylist.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/rubylist.hxx b/sw/inc/rubylist.hxx index 414d57c8e80d..793a43916afc 100644 --- a/sw/inc/rubylist.hxx +++ b/sw/inc/rubylist.hxx @@ -31,6 +31,7 @@ #include <svl/svarray.hxx> #include <swtypes.hxx> #include <fmtruby.hxx> +#include <boost/ptr_container/ptr_vector.hpp> class SwRubyListEntry { @@ -48,8 +49,7 @@ public: void SetRubyAttr( const SwFmtRuby& rAttr ) { aRubyAttr = rAttr; } }; -typedef SwRubyListEntry* SwRubyListEntryPtr; -SV_DECL_PTRARR_DEL( SwRubyList, SwRubyListEntryPtr, 0 ) +class SwRubyList : public boost::ptr_vector<SwRubyListEntry> {}; #endif //_RUBYLIST_HXX |