From f41e1e11f7e7f42d977efdbd017ff13317f1b647 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Fri, 4 Mar 2011 20:22:42 +0100 Subject: Move DBG_ERROR to OSL_FAIL (multiline) --- tools/source/fsys/urlobj.cxx | 4 ++-- tools/source/inet/inetmime.cxx | 2 +- ucbhelper/workben/ucbexplorer/ucbexplorer.cxx | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index d313169d127d..57eabeadbcb2 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -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; } diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index b4c703df1c71..472f5c4b8284 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -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; } diff --git a/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx b/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx index 31bd1d0c9211..cb2014091dac 100644 --- a/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx +++ b/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx @@ -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; } -- cgit v1.2.3