vcl: make svdem called on Application::Abort() instead of exit(1)
Change-Id: I7660d4f0081d2d88689f5bcacef7ad2bff083636
diff --git a/vcl/workben/svdem.cxx b/vcl/workben/svdem.cxx
index 9eec167..5cc7d9c 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 );