summaryrefslogtreecommitdiff
path: root/stoc/source/simpleregistry/textualservices.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/simpleregistry/textualservices.cxx')
-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) {