[Libreoffice-commits] core.git: vcl/workben

Chris Sherlock chris.sherlock79 at gmail.com
Sat May 17 21:57:19 PDT 2014


 vcl/workben/svdem.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit fc974a4028fcc14304be85f36f5b15524beff5e4
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Sun May 18 14:49:16 2014 +1000

    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 );
 


More information about the Libreoffice-commits mailing list