summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2011-06-14 10:46:42 +0100
committerMichael Meeks <michael.meeks@novell.com>2011-06-14 10:47:49 +0100
commit08a08dec6e62da86b8e1746bb205cb32ee4c7f98 (patch)
tree87532df8f8a695bc1cb74fd395a8436183022434 /stoc
parentf85076ca48e27c81cf4ce36f9b09fb55733db4ec (diff)
don't throw an exception on unexpected attributes in XML rdb files
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/simpleregistry/textualservices.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/stoc/source/simpleregistry/textualservices.cxx b/stoc/source/simpleregistry/textualservices.cxx
index 5a50a5aa62c6..483c8ba5bc4e 100644
--- a/stoc/source/simpleregistry/textualservices.cxx
+++ b/stoc/source/simpleregistry/textualservices.cxx
@@ -283,13 +283,7 @@ void Parser::handleComponent() {
css::uno::Reference< css::uno::XInterface >());
}
} else {
- throw css::registry::InvalidRegistryException(
- (reader_.getUrl() +
- rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- ": expected <component> attribute \"uri\" or"
- " \"loader\""))),
- css::uno::Reference< css::uno::XInterface >());
+ OSL_FAIL ("unexpected component attribute, expected 'uri' or 'loader'");
}
}
if (attrUri_.getLength() == 0) {