summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 14:27:45 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:50:43 +0100
commit1848de2f4cce84862cf0843e15f38ce5d1f26108 (patch)
tree38d3983e56f5d2c900c24750e0050556435cfd6b /ucb/source/ucp/tdoc/tdoc_docmgr.cxx
parente4d0bb122a93d243067814b9d43f9c9ab1e4df65 (diff)
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_docmgr.cxx')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_docmgr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
index 7f32ed943e14..c8a036378d08 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
@@ -118,7 +118,7 @@ getDocumentId( const uno::Reference< uno::XInterface > & xDoc )
}
catch ( lang::WrappedTargetException const & )
{
- OSL_ENSURE( false, "Caught WrappedTargetException!" );
+ OSL_FAIL( "Caught WrappedTargetException!" );
}
}
@@ -645,11 +645,11 @@ bool OfficeDocumentsManager::isBasicIDE(
}
catch ( lang::IllegalArgumentException const & )
{
- OSL_ENSURE( false, "Caught IllegalArgumentException!" );
+ OSL_FAIL( "Caught IllegalArgumentException!" );
}
catch ( frame::UnknownModuleException const & )
{
- OSL_ENSURE( false, "Caught UnknownModuleException!" );
+ OSL_FAIL( "Caught UnknownModuleException!" );
}
if ( aModule.getLength() > 0 )