don't throw an exception on unexpected attributes in XML rdb files

This commit is contained in:
Michael Meeks 2011-06-14 10:46:42 +01:00
parent f85076ca48
commit 08a08dec6e

View file

@ -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) {