summaryrefslogtreecommitdiff
path: root/sot/inc/sot/storinfo.hxx
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-05-15 19:48:38 -0700
committerJoseph Powers <jpowers27@cox.net>2011-05-17 18:31:40 -0700
commiteaea49187f4ea29bba32042ef8aeced45304773b (patch)
tree43acdb1580e3a266758f5b5532bdba040d196253 /sot/inc/sot/storinfo.hxx
parent2883b0a4b44c590c60b5945fdc0dfa0a9dd3c2e9 (diff)
Change SvStorageInfoList from an OwnList to vector<
The main work is in: storinfo.hxx storinfo.cxx The rest is just simple cleanup.
Diffstat (limited to 'sot/inc/sot/storinfo.hxx')
-rw-r--r--sot/inc/sot/storinfo.hxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/sot/inc/sot/storinfo.hxx b/sot/inc/sot/storinfo.hxx
index 0d7c73d3717c..90062330adac 100644
--- a/sot/inc/sot/storinfo.hxx
+++ b/sot/inc/sot/storinfo.hxx
@@ -31,7 +31,7 @@
#include <tools/pstm.hxx>
#include <tools/globname.hxx>
-#include <tools/ownlist.hxx>
+#include <vector>
#include "sot/sotdllapi.h"
class StgDirEntry;
@@ -40,8 +40,8 @@ class SvStorageInfo
friend class SvStorage;
String aName;
SvGlobalName aClassName;
- sal_uLong nSize;
- sal_Bool bStream:1,
+ sal_uLong nSize;
+ sal_Bool bStream:1,
bStorage:1;
SvStorageInfo(){}; // Fuer SvStorage
@@ -61,11 +61,7 @@ public:
sal_uLong GetSize() const { return nSize; }
};
-class SOT_DLLPUBLIC SvStorageInfoList
-{
- PRV_SV_DECL_OWNER_LIST(SvStorageInfoList,SvStorageInfo)
- const SvStorageInfo * Get( const String & rName );
-};
+typedef ::std::vector< SvStorageInfo > SvStorageInfoList;
SOT_DLLPUBLIC sal_uLong ReadClipboardFormat( SvStream & rStm );
SOT_DLLPUBLIC void WriteClipboardFormat( SvStream & rStm, sal_uLong nFormat );