diff options
Diffstat (limited to 'sfx2/source/doc/ownsubfilterservice.cxx')
-rw-r--r-- | sfx2/source/doc/ownsubfilterservice.cxx | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/sfx2/source/doc/ownsubfilterservice.cxx b/sfx2/source/doc/ownsubfilterservice.cxx index d92692a62aec..530d8b8c7d5f 100644 --- a/sfx2/source/doc/ownsubfilterservice.cxx +++ b/sfx2/source/doc/ownsubfilterservice.cxx @@ -44,21 +44,19 @@ class OwnSubFilterService : public cppu::WeakImplHelper < document::XFilter public: /// @throws css::uno::Exception /// @throws css::uno::RuntimeException - explicit OwnSubFilterService(const css::uno::Sequence< css::uno::Any >& aArguments) - throw (uno::Exception, uno::RuntimeException); + explicit OwnSubFilterService(const css::uno::Sequence< css::uno::Any >& aArguments); // XFilter - virtual sal_Bool SAL_CALL filter( const uno::Sequence< beans::PropertyValue >& aDescriptor ) throw (uno::RuntimeException, std::exception) override; - virtual void SAL_CALL cancel() throw (uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL filter( const uno::Sequence< beans::PropertyValue >& aDescriptor ) override; + virtual void SAL_CALL cancel() override; // XServiceInfo - virtual OUString SAL_CALL getImplementationName( ) throw (uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (uno::RuntimeException, std::exception) override; - virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getImplementationName( ) override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; + virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; }; OwnSubFilterService::OwnSubFilterService(const css::uno::Sequence< css::uno::Any >& aArguments) - throw (uno::Exception, uno::RuntimeException) : m_pObjectShell( nullptr ) { if ( aArguments.getLength() != 2 ) @@ -82,7 +80,6 @@ OwnSubFilterService::OwnSubFilterService(const css::uno::Sequence< css::uno::Any } sal_Bool SAL_CALL OwnSubFilterService::filter( const uno::Sequence< beans::PropertyValue >& aDescriptor ) - throw (uno::RuntimeException, std::exception) { if ( !m_pObjectShell ) throw uno::RuntimeException(); @@ -91,25 +88,21 @@ sal_Bool SAL_CALL OwnSubFilterService::filter( const uno::Sequence< beans::Prope } void SAL_CALL OwnSubFilterService::cancel() - throw (uno::RuntimeException, std::exception) { // not implemented } OUString SAL_CALL OwnSubFilterService::getImplementationName() - throw ( uno::RuntimeException, std::exception ) { return OUString("com.sun.star.comp.document.OwnSubFilter"); } sal_Bool SAL_CALL OwnSubFilterService::supportsService( const OUString& ServiceName ) - throw ( uno::RuntimeException, std::exception ) { return cppu::supportsService(this, ServiceName); } uno::Sequence< OUString > SAL_CALL OwnSubFilterService::getSupportedServiceNames() - throw ( uno::RuntimeException, std::exception ) { uno::Sequence< OUString > aRet(2); aRet[0] = "com.sun.star.document.OwnSubFilter"; |