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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/base/factory.cxx b/sot/source/base/factory.cxx
index ec2aa26b677d..349c2f07c9ae 100644
--- a/sot/source/base/factory.cxx
+++ b/sot/source/base/factory.cxx
@@ -192,7 +192,7 @@ void SotFactory::DecSvObjectCount( SotObject * pObj )
*************************************************************************/
void * SotFactory::CreateInstance( SotObject ** ppObj ) const
{
- DBG_ASSERT( pCreateFunc, "SotFactory::CreateInstance: pCreateFunc == 0" );
+ assert(pCreateFunc && "SotFactory::CreateInstance: pCreateFunc == 0");
return pCreateFunc( ppObj );
}