diff options
author | sb <sb@openoffice.org> | 2010-04-06 17:40:33 +0200 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-04-06 17:40:33 +0200 |
commit | 3a08c284e3128ef8ee5f5a3b4387bb9ee32ba97b (patch) | |
tree | 5435344c3e7ffc2fc647dbb4cf5546300a5f9f15 | |
parent | 854ee977ae497cf9229069bf10e4753133ce178e (diff) |
sb122: silently ignore unknown files in Components::parseFileList (the extension manager's file lists can accrue garbage when extension deployment fails mid-way through)
-rw-r--r-- | configmgr/source/components.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx index 51a1a6547d9b..58e8c68d636a 100644 --- a/configmgr/source/components.cxx +++ b/configmgr/source/components.cxx @@ -473,12 +473,10 @@ void Components::parseFileList( try { (*parseFile)(url, layer, &data_, 0); } catch (css::container::NoSuchElementException & e) { - throw css::uno::RuntimeException( - (rtl::OUString( - RTL_CONSTASCII_USTRINGPARAM( - "stat'ed file does not exist: ")) + - e.Message), - css::uno::Reference< css::uno::XInterface >()); + OSL_TRACE( + "configmgr file does not exist: %s", + rtl::OUStringToOString( + e.Message, RTL_TEXTENCODING_UTF8).getStr()); } } if (i == -1) { |