diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-05-18 14:49:16 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-05-18 14:49:49 +1000 |
commit | fc974a4028fcc14304be85f36f5b15524beff5e4 (patch) | |
tree | ef2851132c30d8290625229710318acc5602b366 /vcl | |
parent | 3558f9c0592b443f20ca1f406198f89a5385767e (diff) |
vcl: make svdem called on Application::Abort() instead of exit(1)
Change-Id: I7660d4f0081d2d88689f5bcacef7ad2bff083636
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/workben/svdem.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/workben/svdem.cxx b/vcl/workben/svdem.cxx index 9eec1674698b..5cc7d9c1ea40 100644 --- a/vcl/workben/svdem.cxx +++ b/vcl/workben/svdem.cxx @@ -48,10 +48,7 @@ SAL_IMPLEMENT_MAIN() Reference< XMultiServiceFactory > xServiceManager( xContext->getServiceManager(), UNO_QUERY ); if( !xServiceManager.is() ) - { - fprintf( stderr, "Failed to bootstrap\n" ); - exit( 1 ); - } + Application::Abort( "Failed to bootstrap" ); comphelper::setProcessServiceFactory( xServiceManager ); |