diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-02-24 05:33:40 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-02-24 05:33:40 +0100 |
commit | 323fd82da0738b126335d4458f8a38abb26fa722 (patch) | |
tree | 823cba947c87102b498ff00a3aa6bf2c1a48a419 /sot/source | |
parent | 29b1914fad754ed94e61179f09aac50f1657f2e0 (diff) |
unusedcode.easy: Remove SotFactory::TestInvariant()
Also CALL_TEST_INVARIANT is never used again.
Diffstat (limited to 'sot/source')
-rw-r--r-- | sot/source/base/factory.cxx | 17 | ||||
-rw-r--r-- | sot/source/base/object.cxx | 17 | ||||
-rw-r--r-- | sot/source/sdstor/storage.cxx | 22 |
3 files changed, 0 insertions, 56 deletions
diff --git a/sot/source/base/factory.cxx b/sot/source/base/factory.cxx index 830c6beaaf10..b9e29e510cbe 100644 --- a/sot/source/base/factory.cxx +++ b/sot/source/base/factory.cxx @@ -189,23 +189,6 @@ void SotFactory::DecSvObjectCount( SotObject * pObj ) } } - -/************************************************************************* -|* SotFactory::TestInvariant() -|* -|* Beschreibung -*************************************************************************/ -void SotFactory::TestInvariant() -{ -#ifdef TEST_INVARIANT - SotData_Impl * pSotData = SOTDATA(); - - std::list<SotObject*>::iterator it; - for( it = pSotData->aObjectList.begin(); it != pSotData->aObjectList.end(); ++it ) - (*it)->TestInvariant(); -#endif -} - /************************************************************************* |* SotFactory::CreateInstance() |* diff --git a/sot/source/base/object.cxx b/sot/source/base/object.cxx index ac8e1287a431..e1d3f67571a7 100644 --- a/sot/source/base/object.cxx +++ b/sot/source/base/object.cxx @@ -49,23 +49,6 @@ TYPEINIT1(SotObjectFactory,SotFactory); SO2_IMPL_BASIC_CLASS_DLL(SotObject,SotObjectFactory, SvGlobalName( 0xf44b7830, 0xf83c, 0x11d0, 0xaa, 0xa1, 0x0, 0xa0, 0x24, 0x9d, 0x55, 0x90 ) ) -SO2_IMPL_INVARIANT(SotObject) - -/************************************************************************* -|* SotObject::TestMemberObjRef() -|* -|* Beschreibung: -*************************************************************************/ -void SotObject::TestMemberObjRef() {} - -/************************************************************************* -|* SotObject::TestMemberObjRef() -|* -|* Beschreibung: -*************************************************************************/ -#ifdef TEST_INVARIANT -void SotObject::TestMemberInvariant() {} -#endif /************************************************************************* |* SotObject::SotObject() diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index 8b7cb30e449f..1006b7c1e5b1 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -67,14 +67,6 @@ TYPEINIT1(SotStorageStreamFactory,SotFactory); SO2_IMPL_BASIC_CLASS1_DLL(SotStorageStream,SotStorageStreamFactory,SotObject, SvGlobalName( 0xd7deb420, 0xf902, 0x11d0, 0xaa, 0xa1, 0x0, 0xa0, 0x24, 0x9d, 0x55, 0x90 ) ) -SO2_IMPL_INVARIANT(SotStorageStream) - - -void SotStorageStream::TestMemberObjRef() {} - -#ifdef TEST_INVARIANT -void SotStorageStream::TestMemberInvariant() {} -#endif /************************************************************************ |* SotStorageStream::SotStorageStream() @@ -435,20 +427,6 @@ TYPEINIT1(SotStorageFactory,SotFactory); SO2_IMPL_BASIC_CLASS1_DLL(SotStorage,SotStorageFactory,SotObject, SvGlobalName( 0x980ce7e0, 0xf905, 0x11d0, 0xaa, 0xa1, 0x0, 0xa0, 0x24, 0x9d, 0x55, 0x90 ) ) -SO2_IMPL_INVARIANT(SotStorage) - - -/************************************************************************ -|* -|* SotStorage::Tes*() -|* -|* Beschreibung -*************************************************************************/ -void SotStorage::TestMemberObjRef() {} - -#ifdef TEST_INVARIANT -void SotStorage::TestMemberInvariant() {} -#endif /************************************************************************ |* |