diff options
Diffstat (limited to 'extensions/source/resource/ResourceIndexAccess.hxx')
-rw-r--r-- | extensions/source/resource/ResourceIndexAccess.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/source/resource/ResourceIndexAccess.hxx b/extensions/source/resource/ResourceIndexAccess.hxx index fb466f863122..6d89f1b90508 100644 --- a/extensions/source/resource/ResourceIndexAccess.hxx +++ b/extensions/source/resource/ResourceIndexAccess.hxx @@ -34,13 +34,13 @@ namespace extensions { namespace resource // XNameAccess // The XNameAccess provides access to one named elements: // "String" returns a XIndexAccess to String resources - virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) throw (css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; - virtual css::uno::Sequence< OUString > SAL_CALL getElementNames( ) throw (css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw (css::uno::RuntimeException, std::exception) override; + virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getElementNames( ) override; + virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) override; // XElementAccess - virtual css::uno::Type SAL_CALL getElementType( ) throw (css::uno::RuntimeException, std::exception) override + virtual css::uno::Type SAL_CALL getElementType( ) override { return cppu::UnoType<css::uno::XInterface>::get(); }; - virtual sal_Bool SAL_CALL hasElements( ) throw (css::uno::RuntimeException, std::exception) override + virtual sal_Bool SAL_CALL hasElements( ) override { return static_cast<bool>(m_pResMgr.get()); }; private: |