summaryrefslogtreecommitdiff
path: root/sot/inc
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-02-01 07:24:09 -0800
committerJoseph Powers <jpowers27@cox.net>2011-02-01 07:24:09 -0800
commit177abf404881b3557ef1cc99ef56cf9b6f90abe4 (patch)
tree2b481d8c3322c9856319c3ff1cd55e6bc77323dd /sot/inc
parent446d59e168318ae1d0e064d7409c4335f20259e8 (diff)
Remove DECLARE_LIST( FileStringList, String* )
Diffstat (limited to 'sot/inc')
-rw-r--r--sot/inc/filelist.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/sot/inc/filelist.hxx b/sot/inc/filelist.hxx
index bf9aa3e4084d..e4f920437165 100644
--- a/sot/inc/filelist.hxx
+++ b/sot/inc/filelist.hxx
@@ -32,32 +32,32 @@
#include <tools/stream.hxx>
#include "sot/sotdllapi.h"
-class FileStringList;
+#include <vector>
+typedef ::std::vector< String* > FileStringList;
class SOT_DLLPUBLIC FileList : public SvDataCopyStream
{
- FileStringList* pStrList;
+ FileStringList aStrList;
protected:
// SvData-Methoden
- virtual void Load( SvStream& );
- virtual void Save( SvStream& );
- virtual void Assign( const SvDataCopyStream& );
+ virtual void Load( SvStream& );
+ virtual void Save( SvStream& );
+ virtual void Assign( const SvDataCopyStream& );
// Liste loeschen;
- void ClearAll( void );
+ void ClearAll( void );
public:
TYPEINFO();
- FileList();
- ~FileList();
+ FileList() {};
+ ~FileList();
// Zuweisungsoperator
FileList& operator=( const FileList& rFileList );
-
// Im-/Export
SOT_DLLPUBLIC friend SvStream& operator<<( SvStream& rOStm, const FileList& rFileList );
SOT_DLLPUBLIC friend SvStream& operator>>( SvStream& rIStm, FileList& rFileList );
@@ -68,8 +68,8 @@ public:
// Liste fuellen/abfragen
void AppendFile( const String& rStr );
- String GetFile( ULONG i ) const;
- ULONG Count( void ) const;
+ String GetFile( size_t i ) const;
+ size_t Count( void ) const;
};