summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-05-18 14:49:16 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-05-18 14:49:49 +1000
commitfc974a4028fcc14304be85f36f5b15524beff5e4 (patch)
treeef2851132c30d8290625229710318acc5602b366 /vcl
parent3558f9c0592b443f20ca1f406198f89a5385767e (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.cxx5
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 );