diff options
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_provider.hxx')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_provider.hxx | 38 |
1 files changed, 11 insertions, 27 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_provider.hxx b/ucb/source/ucp/tdoc/tdoc_provider.hxx index 5e70d04e044c..e99f79301e8e 100644 --- a/ucb/source/ucp/tdoc/tdoc_provider.hxx +++ b/ucb/source/ucp/tdoc/tdoc_provider.hxx @@ -60,26 +60,20 @@ public: virtual ~ContentProvider() 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; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) - throw( css::uno::RuntimeException, std::exception ) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; static OUString getImplementationName_Static(); static css::uno::Sequence< OUString > getSupportedServiceNames_Static(); @@ -90,16 +84,12 @@ public: // XContentProvider virtual css::uno::Reference< css::ucb::XContent > SAL_CALL - queryContent( const css::uno::Reference< css::ucb::XContentIdentifier >& Identifier ) - throw( css::ucb::IllegalIdentifierException, - css::uno::RuntimeException, std::exception ) override; + queryContent( const css::uno::Reference< css::ucb::XContentIdentifier >& Identifier ) override; // XTransientDocumentsDocumentContentFactory virtual css::uno::Reference< css::ucb::XContent > SAL_CALL createDocumentContent( const css::uno::Reference< - css::frame::XModel >& Model ) - throw ( css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception ) override; + css::frame::XModel >& Model ) override; // Non-UNO interfaces css::uno::Reference< css::embed::XStorage > @@ -112,27 +102,21 @@ public: /// @throws css::uno::RuntimeException css::uno::Reference< css::io::XInputStream > queryInputStream( const OUString & rUri, - const OUString & rPassword ) const - throw ( css::packages::WrongPasswordException, - css::uno::RuntimeException ); + const OUString & rPassword ) const; /// @throws css::packages::WrongPasswordException /// @throws css::uno::RuntimeException css::uno::Reference< css::io::XOutputStream > queryOutputStream( const OUString & rUri, const OUString & rPassword, - bool bTruncate ) const - throw ( css::packages::WrongPasswordException, - css::uno::RuntimeException ); + bool bTruncate ) const; /// @throws css::packages::WrongPasswordException /// @throws css::uno::RuntimeException css::uno::Reference< css::io::XStream > queryStream( const OUString & rUri, const OUString & rPassword, - bool bTruncate ) const - throw ( css::packages::WrongPasswordException, - css::uno::RuntimeException ); + bool bTruncate ) const; bool queryNamesOfChildren( const OUString & rUri, |