summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
diff options
context:
space:
mode:
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 )