summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-04 20:22:42 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-11 23:41:06 +0100
commitf41e1e11f7e7f42d977efdbd017ff13317f1b647 (patch)
tree67aa7953b9c5481cc09a8746dff96267e3594110
parent56e019462e980b6583f217f21e2ade3176e639e7 (diff)
Move DBG_ERROR to OSL_FAIL (multiline)
-rw-r--r--tools/source/fsys/urlobj.cxx4
-rw-r--r--tools/source/inet/inetmime.cxx2
-rw-r--r--ucbhelper/workben/ucbexplorer/ucbexplorer.cxx6
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;
}