diff options
Diffstat (limited to 'ucb/source/ucp/hierarchy/hierarchycontent.hxx')
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchycontent.hxx | 47 |
1 files changed, 15 insertions, 32 deletions
diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.hxx b/ucb/source/ucp/hierarchy/hierarchycontent.hxx index 7bcd7a397db4..60b19b2aa71c 100644 --- a/ucb/source/ucp/hierarchy/hierarchycontent.hxx +++ b/ucb/source/ucp/hierarchy/hierarchycontent.hxx @@ -167,23 +167,19 @@ private: css::uno::Sequence< css::uno::Any > setPropertyValues( const css::uno::Sequence< css::beans::PropertyValue >& rValues, - const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw( css::uno::Exception, std::exception ); + const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); /// @throws css::uno::Exception void insert( sal_Int32 nNameClashResolve, - const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw( css::uno::Exception, std::exception ); + const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); /// @throws css::uno::Exception void destroy( bool bDeletePhysical, - const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw( css::uno::Exception, std::exception ); + const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); /// @throws css::uno::Exception void transfer( const css::ucb::TransferInfo& rInfo, - const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw( css::uno::Exception, std::exception ); + const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); public: // Create existing content. Fail, if not already exists. @@ -203,46 +199,35 @@ public: virtual ~HierarchyContent() override; // XInterface - virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; virtual void SAL_CALL acquire() throw() override; virtual void SAL_CALL release() throw() override; // XTypeProvider - virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() - throw( css::uno::RuntimeException, std::exception ) override; - virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() - throw( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override; + virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override; // XServiceInfo virtual OUString SAL_CALL - getImplementationName() - throw( css::uno::RuntimeException, std::exception ) override; + getImplementationName() override; virtual css::uno::Sequence< OUString > SAL_CALL - getSupportedServiceNames() - throw( css::uno::RuntimeException, std::exception ) override; + getSupportedServiceNames() override; // XContent virtual OUString SAL_CALL - getContentType() - throw( css::uno::RuntimeException, std::exception ) override; + getContentType() override; virtual css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL - getIdentifier() - throw( css::uno::RuntimeException, std::exception ) override; + getIdentifier() override; // XCommandProcessor virtual css::uno::Any SAL_CALL execute( const css::ucb::Command& aCommand, sal_Int32 CommandId, - const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment ) - throw( css::uno::Exception, - css::ucb::CommandAbortedException, - css::uno::RuntimeException, std::exception ) override; + const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment ) override; virtual void SAL_CALL - abort( sal_Int32 CommandId ) - throw( css::uno::RuntimeException, std::exception ) override; + abort( sal_Int32 CommandId ) override; // Additional interfaces @@ -250,11 +235,9 @@ public: // XContentCreator virtual css::uno::Sequence< css::ucb::ContentInfo > SAL_CALL - queryCreatableContentsInfo() - throw( css::uno::RuntimeException, std::exception ) override; + queryCreatableContentsInfo() override; virtual css::uno::Reference< css::ucb::XContent > SAL_CALL - createNewContent( const css::ucb::ContentInfo& Info ) - throw( css::uno::RuntimeException, std::exception ) override; + createNewContent( const css::ucb::ContentInfo& Info ) override; // Non-interface methods. |