Move DBG_ERROR to OSL_FAIL (multiline)
This commit is contained in:
parent
56e019462e
commit
f41e1e11f7
3 changed files with 6 additions and 6 deletions
|
@ -1171,7 +1171,7 @@ bool INetURLObject::setAbsURIRef(rtl::OUString const & rTheAbsURIRef,
|
|||
break;
|
||||
|
||||
default:
|
||||
DBG_ERROR(
|
||||
OSL_FAIL(
|
||||
"INetURLObject::setAbsURIRef():"
|
||||
" Bad guessFSysStyleByCounting");
|
||||
break;
|
||||
|
@ -1596,7 +1596,7 @@ bool INetURLObject::convertRelToAbs(rtl::OUString const & rTheRelURIRef,
|
|||
break;
|
||||
|
||||
default:
|
||||
DBG_ERROR("INetURLObject::convertRelToAbs():"
|
||||
OSL_FAIL("INetURLObject::convertRelToAbs():"
|
||||
" Bad guessFSysStyleByCounting");
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -2038,7 +2038,7 @@ INetMIME::createPreferredCharsetList(rtl_TextEncoding eEncoding)
|
|||
break;
|
||||
|
||||
default: //@@@ more cases are missing!
|
||||
DBG_ERROR("INetMIME::createPreferredCharsetList():"
|
||||
OSL_FAIL("INetMIME::createPreferredCharsetList():"
|
||||
" Unsupported encoding");
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -421,7 +421,7 @@ BOOL UcbExplorerListBoxEntry::createNewContent( const ContentInfo& rInfo,
|
|||
else
|
||||
{
|
||||
// See com/sun/star/ucb/ContentInfo.idl
|
||||
DBG_ERROR( "UcbExplorerListBoxEntry::createNewContent - "
|
||||
OSL_FAIL( "UcbExplorerListBoxEntry::createNewContent - "
|
||||
"Invlid type for bootstrap property!" );
|
||||
}
|
||||
}
|
||||
|
@ -457,7 +457,7 @@ BOOL UcbExplorerListBoxEntry::createNewContent( const ContentInfo& rInfo,
|
|||
OUString aSourceURL( pDlg->GetValue() );
|
||||
if ( aSourceURL.getLength() == 0 )
|
||||
{
|
||||
DBG_ERROR( "UcbExplorerListBoxEntry::createNewContent - "
|
||||
OSL_FAIL( "UcbExplorerListBoxEntry::createNewContent - "
|
||||
"No document data URL!" );
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -491,7 +491,7 @@ BOOL UcbExplorerListBoxEntry::createNewContent( const ContentInfo& rInfo,
|
|||
}
|
||||
catch ( ContentCreationException const & )
|
||||
{
|
||||
DBG_ERROR( "UcbExplorerListBoxEntry::createNewContent - "
|
||||
OSL_FAIL( "UcbExplorerListBoxEntry::createNewContent - "
|
||||
"No content for document data!" );
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue