summaryrefslogtreecommitdiff
path: root/configmgr/source
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-04-06 17:40:33 +0200
committersb <sb@openoffice.org>2010-04-06 17:40:33 +0200
commitec2a3c052aba44f58bdf19709766c0b9315d5fd9 (patch)
tree0ed33c0fa7daf4593ad76316a6ea10c135ff5fcf /configmgr/source
parentfc0c6fe6d2dceef80564e40a6cfeda5ef1f5ac8a (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)
Diffstat (limited to 'configmgr/source')
-rw-r--r--configmgr/source/components.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index 51a1a6547d..58e8c68d63 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) {