Kaydet (Commit) 78120c41 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Missing return

Change-Id: I76db8e6e1460141ee4ef1bed10ea46c2b402b249
üst a5ee2d5a
......@@ -41,6 +41,9 @@
*************************************************************************
*************************************************************************/
#include "sal/config.h"
#include <cstdlib>
#include <stdio.h>
#include <sal/main.h>
......@@ -94,11 +97,12 @@ SAL_IMPLEMENT_MAIN()
}
Reference< XComponent >::query( xContext )->dispose();
return EXIT_SUCCESS;
} catch( Exception& e) {
printf("Error: caught exception:\n %s\n",
OUStringToOString(e.Message, RTL_TEXTENCODING_ASCII_US).getStr());
exit(1);
return EXIT_FAILURE;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment