diff options
Diffstat (limited to 'sfx2/source/appl/xpackcreator.cxx')
-rw-r--r-- | sfx2/source/appl/xpackcreator.cxx | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/sfx2/source/appl/xpackcreator.cxx b/sfx2/source/appl/xpackcreator.cxx index 8e1a2eec043d..3980c3204618 100644 --- a/sfx2/source/appl/xpackcreator.cxx +++ b/sfx2/source/appl/xpackcreator.cxx @@ -45,19 +45,17 @@ public: OPackageStructureCreator() {} // XPackageStructureCreator - virtual void SAL_CALL convertToPackage( const OUString& aFolderUrl, const uno::Reference< io::XOutputStream >& xTargetStream ) throw (io::IOException, uno::RuntimeException, std::exception) override; + virtual void SAL_CALL convertToPackage( const OUString& aFolderUrl, const uno::Reference< io::XOutputStream >& xTargetStream ) 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; }; void SAL_CALL OPackageStructureCreator::convertToPackage( const OUString& aFolderUrl, const uno::Reference< io::XOutputStream >& xTargetStream ) - throw ( io::IOException, - uno::RuntimeException, std::exception ) { uno::Reference< ucb::XCommandEnvironment > xComEnv; @@ -148,19 +146,16 @@ void SAL_CALL OPackageStructureCreator::convertToPackage( const OUString& aFolde } OUString SAL_CALL OPackageStructureCreator::getImplementationName() - throw ( uno::RuntimeException, std::exception ) { return OUString("com.sun.star.comp.embed.PackageStructureCreator"); } sal_Bool SAL_CALL OPackageStructureCreator::supportsService( const OUString& ServiceName ) - throw ( uno::RuntimeException, std::exception ) { return cppu::supportsService(this, ServiceName); } uno::Sequence< OUString > SAL_CALL OPackageStructureCreator::getSupportedServiceNames() - throw ( uno::RuntimeException, std::exception ) { uno::Sequence< OUString > aRet(2); aRet[0] = "com.sun.star.embed.PackageStructureCreator"; |