don't throw an exception on unexpected attributes in XML rdb files
This commit is contained in:
parent
f85076ca48
commit
08a08dec6e
1 changed files with 1 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue