diff options
Diffstat (limited to 'stoc/source/simpleregistry/textualservices.cxx')
-rw-r--r-- | stoc/source/simpleregistry/textualservices.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/stoc/source/simpleregistry/textualservices.cxx b/stoc/source/simpleregistry/textualservices.cxx index 5a50a5aa6..483c8ba5b 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) { |