diff options
-rw-r--r-- | basic/source/app/app.cxx | 2 | ||||
-rw-r--r-- | idl/source/objects/object.cxx | 14 | ||||
-rw-r--r-- | svx/source/form/fmsrcimp.cxx | 4 |
3 files changed, 10 insertions, 10 deletions
diff --git a/basic/source/app/app.cxx b/basic/source/app/app.cxx index e82261084a70..bbdac7c13855 100644 --- a/basic/source/app/app.cxx +++ b/basic/source/app/app.cxx @@ -1853,7 +1853,7 @@ String BasicFrame::GenRealString( const String &aResString ) } else { - DBG_ERROR( CByteString("Unknown replacement in String: ").Append( ByteString( aResult.Copy(nStart,nEnd-nStart), RTL_TEXTENCODING_UTF8 ) ).GetBuffer() ); + OSL_FAIL( CByteString("Unknown replacement in String: ").Append( ByteString( aResult.Copy(nStart,nEnd-nStart), RTL_TEXTENCODING_UTF8 ) ).GetBuffer() ); nStartPos = nStartPos + StartKenn.Len(); } } 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(); diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx index 3268199e1f7e..b16a6ab0632d 100644 --- a/svx/source/form/fmsrcimp.cxx +++ b/svx/source/form/fmsrcimp.cxx @@ -260,7 +260,7 @@ sal_Bool FmSearchEngine::MoveCursor() sDebugMessage.AssignAscii("FmSearchEngine::MoveCursor : catched a DatabaseException ("); sDebugMessage += (const sal_Unicode*)e.SQLState; sDebugMessage.AppendAscii(") !"); - DBG_ERROR(ByteString(sDebugMessage, RTL_TEXTENCODING_ASCII_US).GetBuffer()); + OSL_FAIL(ByteString(sDebugMessage, RTL_TEXTENCODING_ASCII_US).GetBuffer()); #endif bSuccess = sal_False; } @@ -271,7 +271,7 @@ sal_Bool FmSearchEngine::MoveCursor() sDebugMessage.AssignAscii("FmSearchEngine::MoveCursor : catched an Exception ("); sDebugMessage += (const sal_Unicode*)e.Message; sDebugMessage.AppendAscii(") !"); - DBG_ERROR(ByteString(sDebugMessage, RTL_TEXTENCODING_ASCII_US).GetBuffer()); + OSL_FAIL(ByteString(sDebugMessage, RTL_TEXTENCODING_ASCII_US).GetBuffer()); #endif bSuccess = sal_False; } |