summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-01-15 18:04:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-01-16 11:39:02 +0100
commit556f94881225cdf1ae34dc9955bd5c04ffee9f14 (patch)
treebecd2de91fa109ab5963a2a4ce0d1b927648963c /i18npool
parentaed1f0d5d543c534b4b9c3517802a24e700f0b5a (diff)
Do not hide information about UNO bootstrap failures
Change-Id: I42ce84a00c4de60d30093f58214f76647ff03097
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