summaryrefslogtreecommitdiff
path: root/configmgr/source/readonlyaccess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/readonlyaccess.cxx')
-rw-r--r--configmgr/source/readonlyaccess.cxx19
1 files changed, 6 insertions, 13 deletions
diff --git a/configmgr/source/readonlyaccess.cxx b/configmgr/source/readonlyaccess.cxx
index 9ff6c10acfa7..b14ad3dc59b8 100644
--- a/configmgr/source/readonlyaccess.cxx
+++ b/configmgr/source/readonlyaccess.cxx
@@ -56,30 +56,24 @@ private:
virtual ~Service() override {}
- virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual OUString SAL_CALL getImplementationName() override
{ return read_only_access::getImplementationName(); }
- virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception) override
+ virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
{ return cppu::supportsService(this, ServiceName); }
virtual css::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override
+ getSupportedServiceNames() override
{ return read_only_access::getSupportedServiceNames(); }
virtual void SAL_CALL initialize(
- css::uno::Sequence< css::uno::Any > const & aArguments)
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ css::uno::Sequence< css::uno::Any > const & aArguments) override;
virtual css::uno::Any SAL_CALL getByHierarchicalName(
- OUString const & aName)
- throw (
- css::container::NoSuchElementException, css::uno::RuntimeException, std::exception) override
+ OUString const & aName) override
{ return getRoot()->getByHierarchicalName(aName); }
- virtual sal_Bool SAL_CALL hasByHierarchicalName(OUString const & aName)
- throw (css::uno::RuntimeException, std::exception) override
+ virtual sal_Bool SAL_CALL hasByHierarchicalName(OUString const & aName) override
{ return getRoot()->hasByHierarchicalName(aName); }
rtl::Reference< RootAccess > getRoot();
@@ -91,7 +85,6 @@ private:
};
void Service::initialize(css::uno::Sequence< css::uno::Any > const & aArguments)
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
OUString locale;
if (aArguments.getLength() != 1 || !(aArguments[0] >>= locale)) {