summaryrefslogtreecommitdiff
path: root/svx/workben
diff options
context:
space:
mode:
Diffstat (limited to 'svx/workben')
-rw-r--r--svx/workben/msview/msview.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/workben/msview/msview.cxx b/svx/workben/msview/msview.cxx
index 0cea473cdc65..a19838eec26b 100644
--- a/svx/workben/msview/msview.cxx
+++ b/svx/workben/msview/msview.cxx
@@ -1103,7 +1103,7 @@ void MSViewerWorkWindow::Resize()
uno::Reference< uno::XComponentContext > xCtx( cppu::defaultBootstrap_InitialComponentContext() );
if ( !xCtx.is() )
{
- DBG_ERROR( "Error creating initial component context!" );
+ OSL_FAIL( "Error creating initial component context!" );
return -1;
}
@@ -1111,7 +1111,7 @@ void MSViewerWorkWindow::Resize()
if ( !xMSF.is() )
{
- DBG_ERROR( "No service manager!" );
+ OSL_FAIL( "No service manager!" );
return -1;
}
@@ -1122,14 +1122,14 @@ void MSViewerWorkWindow::Resize()
sal_Bool bSuccess = ::ucb::ContentBroker::initialize( xMSF, aArgs );
if ( !bSuccess )
{
- DBG_ERROR( "Error creating UCB!" );
+ OSL_FAIL( "Error creating UCB!" );
return -1;
}
}
catch ( uno::Exception const & )
{
- DBG_ERROR( "Exception during creation of initial component context!" );
+ OSL_FAIL( "Exception during creation of initial component context!" );
return -1;
}
comphelper::setProcessServiceFactory( xMSF );