summaryrefslogtreecommitdiff
path: root/sot/inc
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-01-26 07:39:31 -0800
committerJoseph Powers <jpowers27@cox.net>2011-01-26 07:39:31 -0800
commitfaa253ee441f9be75e27980595a4b567e52cb9e0 (patch)
treeac11a8402252050810d35675858888145415148c /sot/inc
parent0f44da55121dde853e8e2efb3ac4c80f568909c7 (diff)
Remove DECLARE_LIST( SotFactoryList, SotFactory* )
Diffstat (limited to 'sot/inc')
-rw-r--r--sot/inc/sot/factory.hxx3
-rw-r--r--sot/inc/sot/sotdata.hxx4
2 files changed, 5 insertions, 2 deletions
diff --git a/sot/inc/sot/factory.hxx b/sot/inc/sot/factory.hxx
index e2b32c6aa65c..d27251987428 100644
--- a/sot/inc/sot/factory.hxx
+++ b/sot/inc/sot/factory.hxx
@@ -32,13 +32,14 @@
#include <tools/globname.hxx>
#include <tools/rtti.hxx>
#include "sot/sotdllapi.h"
+#include <vector>
/*************************************************************************
*************************************************************************/
class SotObject;
class SotFactory;
-DECLARE_LIST( SotFactoryList, SotFactory * )
+typedef ::std::vector< SotFactory* > SotFactoryList;
typedef void * (*CreateInstanceType)( SotObject ** );
//==================class SotFactory=======================================
diff --git a/sot/inc/sot/sotdata.hxx b/sot/inc/sot/sotdata.hxx
index 7bf2e0eec1e3..73c1b1010cb2 100644
--- a/sot/inc/sot/sotdata.hxx
+++ b/sot/inc/sot/sotdata.hxx
@@ -34,14 +34,16 @@
#include <tools/solar.h>
#include "sot/sotdllapi.h"
+#include <vector>
//==================class SotData_Impl====================================
class List;
class SotFactory;
-class SotFactoryList;
class SotObjectList;
+typedef ::std::vector< SotFactory* > SotFactoryList;
+
struct SotData_Impl
{
UINT32 nSvObjCount;