diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-01 19:08:19 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-02 14:46:42 +0100 |
commit | 11d20507806d30e2d1955b93a568b84a2216ef69 (patch) | |
tree | b34fa3afac27eac9404f16e46b530aa2cbcad41d /sot/source/base | |
parent | 7b981b7cab15e0fc2ebb159df2d40c3a2499b265 (diff) |
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'sot/source/base')
-rw-r--r-- | sot/source/base/factory.cxx | 2 | ||||
-rw-r--r-- | sot/source/base/object.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/base/factory.cxx b/sot/source/base/factory.cxx index d327bf077096..b510a0618137 100644 --- a/sot/source/base/factory.cxx +++ b/sot/source/base/factory.cxx @@ -136,7 +136,7 @@ SotFactory::SotFactory( const SvGlobalName & rName, DBG_ASSERT( aEmptyName != *this, "create factory without SvGlobalName" ); if( Find( *this ) ) { - DBG_ERROR( "create factories with the same unique name" ); + OSL_FAIL( "create factories with the same unique name" ); } } #endif diff --git a/sot/source/base/object.cxx b/sot/source/base/object.cxx index ae371eb24bea..5bd4af29a45b 100644 --- a/sot/source/base/object.cxx +++ b/sot/source/base/object.cxx @@ -459,7 +459,7 @@ void SotObject::RemoveOwnerLock() ReleaseRef(); } else { - DBG_ERROR("OwnerLockCount underflow!"); + OSL_FAIL("OwnerLockCount underflow!"); } } |