diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-07 16:27:06 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-12 23:25:09 +0200 |
commit | 153c5e3f07ec26fac352765b776188035e1fdeb2 (patch) | |
tree | a12eb15a87d0d6ac7f937a997f31634d4e0fc6ed /fpicker/source/office/iodlgimp.cxx | |
parent | 0169c40e133bafa9d7c1226d1fa747d7958a1d4f (diff) |
Convert SV_DECL_PTRARR_DEL(ImageItemListDescriptor) to boost::ptr_vector
Change-Id: Ic3b06e179d182d68288c7c6832149309160cd637
Diffstat (limited to 'fpicker/source/office/iodlgimp.cxx')
-rw-r--r-- | fpicker/source/office/iodlgimp.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/fpicker/source/office/iodlgimp.cxx b/fpicker/source/office/iodlgimp.cxx index 84a714894afa..01b3a9436347 100644 --- a/fpicker/source/office/iodlgimp.cxx +++ b/fpicker/source/office/iodlgimp.cxx @@ -122,8 +122,6 @@ SvtFileDialogFilter_Impl::~SvtFileDialogFilter_Impl() // SvtFileDialogFilterList_Impl //***************************************************************************** -SV_IMPL_PTRARR( SvtFileDialogFilterList_Impl, SvtFileDialogFilter_Impl* ); - //============================================================================= //= SvtFileDialogURLSelector //============================================================================= @@ -375,15 +373,15 @@ void SvtExpFileDlg_Impl::InitFilterList( ) ClearFilterList( ); // reinit it - sal_uInt16 nPos = _pFilter->Count(); + sal_uInt16 nPos = _pFilter->size(); // search for the first entry which is no group separator - while ( nPos-- && _pFilter->GetObject( nPos ) && _pFilter->GetObject( nPos )->isGroupSeparator() ) + while ( nPos-- && (*_pFilter)[ nPos ].isGroupSeparator() ) ; // add all following entries while ( (sal_Int16)nPos >= 0 ) - InsertFilterListEntry( _pFilter->GetObject( nPos-- ) ); + InsertFilterListEntry( &(*_pFilter)[ nPos-- ] ); } //----------------------------------------------------------------------------- |