diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-08-02 18:18:24 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-08-02 18:23:38 +0200 |
commit | 75596f03ac498795a0d669bc1987e7bc372a53b0 (patch) | |
tree | 35c8ae2f71d34b9e9da282dcb4f72c75537d8b92 /sot/source/base | |
parent | 67ecd3b1a23189b99e9509fab0b6c60d8648038a (diff) |
callcatcher: remove unused methods
Diffstat (limited to 'sot/source/base')
-rw-r--r-- | sot/source/base/factory.cxx | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/sot/source/base/factory.cxx b/sot/source/base/factory.cxx index 79393375138d..c4fe28269a5c 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() |* |