diff options
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/textdata.hxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/vcl/textdata.hxx b/include/vcl/textdata.hxx index 6af42ee5a93d..fe37fbd3b4c7 100644 --- a/include/vcl/textdata.hxx +++ b/include/vcl/textdata.hxx @@ -150,21 +150,6 @@ struct TEIMEInfos void DestroyAttribs(); }; -// ----------------- Wrapper for old Tools List ------------------- - -#include <vector> -#include <algorithm> - -template <class T> class ToolsList : public ::std::vector< T > -{ -public: - size_t Count() const { return ::std::vector< T >::size(); } - size_t GetPos( T pObject ) const { return ( ::std::find( this->begin(), this->end(), pObject ) ) - this->begin(); } - T GetObject( size_t nIndex ) const { return (*this)[nIndex]; } - void Insert( T pObject, size_t nPos ) { ::std::vector< T >::insert( this->begin()+nPos, pObject ); } - void Remove( size_t nPos ) { ::std::vector< T >::erase( this->begin()+nPos ); } -}; - #endif // INCLUDED_VCL_TEXTDATA_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |