summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-08-02 18:18:24 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-08-02 18:23:38 +0200
commit75596f03ac498795a0d669bc1987e7bc372a53b0 (patch)
tree35c8ae2f71d34b9e9da282dcb4f72c75537d8b92 /sot
parent67ecd3b1a23189b99e9509fab0b6c60d8648038a (diff)
callcatcher: remove unused methods
Diffstat (limited to 'sot')
-rw-r--r--sot/inc/sot/factory.hxx3
-rw-r--r--sot/source/base/factory.cxx62
2 files changed, 0 insertions, 65 deletions
diff --git a/sot/inc/sot/factory.hxx b/sot/inc/sot/factory.hxx
index d6eba9afe60a..28f4cd687f06 100644
--- a/sot/inc/sot/factory.hxx
+++ b/sot/inc/sot/factory.hxx
@@ -56,14 +56,11 @@ protected:
virtual ~SotFactory();
public:
TYPEINFO();
- static void DeInit();
static void IncSvObjectCount( SotObject * = NULL );
static void DecSvObjectCount( SotObject * = NULL );
- static sal_uInt32 GetSvObjectCount();
static void TestInvariant();
static const SotFactory * Find( const SvGlobalName & );
- static const SotFactoryList * GetFactoryList();
SotFactory( const SvGlobalName &,
const String & rClassName, CreateInstanceType );
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()
|*