summaryrefslogtreecommitdiff
path: root/sot/source/base
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-02-24 05:33:40 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-02-24 05:33:40 +0100
commit323fd82da0738b126335d4458f8a38abb26fa722 (patch)
tree823cba947c87102b498ff00a3aa6bf2c1a48a419 /sot/source/base
parent29b1914fad754ed94e61179f09aac50f1657f2e0 (diff)
unusedcode.easy: Remove SotFactory::TestInvariant()
Also CALL_TEST_INVARIANT is never used again.
Diffstat (limited to 'sot/source/base')
-rw-r--r--sot/source/base/factory.cxx17
-rw-r--r--sot/source/base/object.cxx17
2 files changed, 0 insertions, 34 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()