summaryrefslogtreecommitdiff
path: root/sot/source/base/factory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/base/factory.cxx')
-rw-r--r--sot/source/base/factory.cxx62
1 files changed, 0 insertions, 62 deletions
diff --git a/sot/source/base/factory.cxx b/sot/source/base/factory.cxx
index 7939337513..c4fe28269a 100644
--- a/sot/source/base/factory.cxx
+++ b/sot/source/base/factory.cxx
@@ -67,51 +67,6 @@ SotData_Impl * SOTDATA()
return &ImplData::get();
}
-/*************************************************************************
-|* SotFactory::DeInit()
-|*
-|* Beschreibung
-*************************************************************************/
-void SotFactory::DeInit()
-{
- SotData_Impl * pSotData = SOTDATA();
-
- if( pSotData->nSvObjCount )
- {
-#ifdef DBG_UTIL
- rtl::OStringBuffer aStr(RTL_CONSTASCII_STRINGPARAM("Objects alive: "));
- aStr.append(static_cast<sal_Int32>(pSotData->nSvObjCount));
- DBG_WARNING(aStr.getStr());
-#endif
- return;
- }
-
- // Muss von hinten nach vorne zerstoert werden. Das ist die umgekehrte
- // Reihenfolge der Erzeugung
- SotFactoryList* pFactoryList = pSotData->pFactoryList;
- if( pFactoryList )
- {
- for ( size_t i = pFactoryList->size(); i > 0 ; )
- delete (*pFactoryList)[ --i ];
- pFactoryList->clear();
- delete pFactoryList;
- pSotData->pFactoryList = NULL;
-
- }
-
- pSotData->aObjectList.clear();
-
- if( pSotData->pDataFlavorList )
- {
-
- for( size_t i = 0, nMax = pSotData->pDataFlavorList->size(); i < nMax; i++ )
- delete (*pSotData->pDataFlavorList)[ i ];
- delete pSotData->pDataFlavorList;
- pSotData->pDataFlavorList = NULL;
- }
-}
-
-
/************** class SotFactory *****************************************/
/*************************************************************************
|* SotFactory::SotFactory()
@@ -154,23 +109,6 @@ SotFactory::~SotFactory()
delete [] pSuperClasses;
}
-
-/*************************************************************************
-|* SotFactory::
-|*
-|* Beschreibung Zugriffsmethoden auf SotData_Impl-Daten
-*************************************************************************/
-sal_uInt32 SotFactory::GetSvObjectCount()
-{
- return SOTDATA()->nSvObjCount;
-}
-
-
-const SotFactoryList * SotFactory::GetFactoryList()
-{
- return SOTDATA()->pFactoryList;
-}
-
/*************************************************************************
|* SotFactory::Find()
|*