summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/localedata/saxparser.cxx13
1 files changed, 2 insertions, 11 deletions
diff --git a/i18npool/source/localedata/saxparser.cxx b/i18npool/source/localedata/saxparser.cxx
index c7cf61ebbd28..2715867f43cc 100644
--- a/i18npool/source/localedata/saxparser.cxx
+++ b/i18npool/source/localedata/saxparser.cxx
@@ -303,17 +303,8 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
exit( 1 );
}
- Reference< XComponentContext > xContext;
- try
- {
- xContext = defaultBootstrap_InitialComponentContext();
- }
- catch ( const Exception &e )
- {
- printf( "Exception bootstrapping UNO: %s\n",
- OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US ).getStr() );
- exit(1);
- }
+ Reference< XComponentContext > xContext(
+ defaultBootstrap_InitialComponentContext());
//--------------------------------
// parser demo