diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-03 13:55:24 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 16:50:40 +0100 |
commit | b228332fe618b8776acec235f8d4cfce9a012bba (patch) | |
tree | 808b22d39a8ea015aed1f5cff940aa573e9d62eb /idl/source | |
parent | f9273f454bf18ee9451b8d5dc844fc8ea6e43c95 (diff) |
Move DBG_ERROR to OSL_FAIL for strings foo().GetBuffer()
Diffstat (limited to 'idl/source')
-rw-r--r-- | idl/source/objects/object.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx index 3b7f4583081a..3ebd1e83eb36 100644 --- a/idl/source/objects/object.cxx +++ b/idl/source/objects/object.cxx @@ -325,7 +325,7 @@ BOOL SvMetaClass::TestAttribute( SvIdlDataBase & rBase, SvTokenStream & rInStm, if ( !rAttr.GetRef() && rAttr.IsA( TYPE( SvMetaSlot ) ) ) { OSL_FAIL( "Neuer Slot : " ); - DBG_ERROR( rAttr.GetSlotId().GetBuffer() ); + OSL_FAIL( rAttr.GetSlotId().GetBuffer() ); } for( ULONG n = 0; n < aAttrList.Count(); n++ ) @@ -337,9 +337,9 @@ BOOL SvMetaClass::TestAttribute( SvIdlDataBase & rBase, SvTokenStream & rInStm, if( pS->GetSlotId().GetValue() != rAttr.GetSlotId().GetValue() ) { OSL_FAIL( "Gleicher Name in MetaClass : " ); - DBG_ERROR( pS->GetName().GetBuffer() ); - DBG_ERROR( pS->GetSlotId().GetBuffer() ); - DBG_ERROR( rAttr.GetSlotId().GetBuffer() ); + OSL_FAIL( pS->GetName().GetBuffer() ); + OSL_FAIL( pS->GetSlotId().GetBuffer() ); + OSL_FAIL( rAttr.GetSlotId().GetBuffer() ); ByteString aStr( "Attribute's " ); aStr += pS->GetName(); @@ -356,9 +356,9 @@ BOOL SvMetaClass::TestAttribute( SvIdlDataBase & rBase, SvTokenStream & rInStm, if( nId1 == nId2 && nId1 != 0 ) { OSL_FAIL( "Gleiche Id in MetaClass : " ); - DBG_ERROR( ByteString::CreateFromInt32( pS->GetSlotId().GetValue() ).GetBuffer() ); - DBG_ERROR( pS->GetSlotId().GetBuffer() ); - DBG_ERROR( rAttr.GetSlotId().GetBuffer() ); + OSL_FAIL( ByteString::CreateFromInt32( pS->GetSlotId().GetValue() ).GetBuffer() ); + OSL_FAIL( pS->GetSlotId().GetBuffer() ); + OSL_FAIL( rAttr.GetSlotId().GetBuffer() ); ByteString aStr( "Attribute " ); aStr += pS->GetName(); |