diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-01 19:07:44 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-02 15:04:37 +0100 |
commit | 65c053ca1a5a8c7318ab1e42cdde2d540a283673 (patch) | |
tree | 2e1a29f5d832ff0cb0d4c095f038392b472459d1 /svx/workben/msview/msview.cxx | |
parent | 40afe52c92f340d0fedbb59d1071a542e6fb61e3 (diff) |
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'svx/workben/msview/msview.cxx')
-rw-r--r-- | svx/workben/msview/msview.cxx | 8 |
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 ); |