From 0a997700372c87cbcbee16ad9693f6def7921272 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 5 Jun 2014 08:14:50 +0200 Subject: desktop: remove SAL_THROW macro Change-Id: I523d47b443bc7a3fc8129b3a15643560e3971782 --- desktop/source/migration/services/basicmigration.cxx | 1 - desktop/source/migration/services/basicmigration.hxx | 3 +-- desktop/source/migration/services/oo3extensionmigration.cxx | 1 - desktop/source/migration/services/oo3extensionmigration.hxx | 3 +-- desktop/source/migration/services/wordbookmigration.cxx | 1 - desktop/source/migration/services/wordbookmigration.hxx | 3 +-- 6 files changed, 3 insertions(+), 9 deletions(-) (limited to 'desktop/source/migration') diff --git a/desktop/source/migration/services/basicmigration.cxx b/desktop/source/migration/services/basicmigration.cxx index 5d7c63f94b37..b6924b94475e 100644 --- a/desktop/source/migration/services/basicmigration.cxx +++ b/desktop/source/migration/services/basicmigration.cxx @@ -228,7 +228,6 @@ namespace migration Reference< XInterface > SAL_CALL BasicMigration_create( Reference< XComponentContext > const & ) - SAL_THROW(()) { return static_cast< lang::XTypeProvider * >( new BasicMigration() ); } diff --git a/desktop/source/migration/services/basicmigration.hxx b/desktop/source/migration/services/basicmigration.hxx index 3903e1c19eb5..e71171f5f8dc 100644 --- a/desktop/source/migration/services/basicmigration.hxx +++ b/desktop/source/migration/services/basicmigration.hxx @@ -41,8 +41,7 @@ namespace migration OUString SAL_CALL BasicMigration_getImplementationName(); ::com::sun::star::uno::Sequence< OUString > SAL_CALL BasicMigration_getSupportedServiceNames(); ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL BasicMigration_create( - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ) - SAL_THROW( (::com::sun::star::uno::Exception) ); + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); diff --git a/desktop/source/migration/services/oo3extensionmigration.cxx b/desktop/source/migration/services/oo3extensionmigration.cxx index 852ef16efb64..22085edab261 100644 --- a/desktop/source/migration/services/oo3extensionmigration.cxx +++ b/desktop/source/migration/services/oo3extensionmigration.cxx @@ -485,7 +485,6 @@ void TmpRepositoryCommandEnv::pop() throw (uno::RuntimeException, std::exception Reference< XInterface > SAL_CALL OO3ExtensionMigration_create( Reference< XComponentContext > const & ctx ) - SAL_THROW(()) { return static_cast< lang::XTypeProvider * >( new OO3ExtensionMigration( ctx) ); diff --git a/desktop/source/migration/services/oo3extensionmigration.hxx b/desktop/source/migration/services/oo3extensionmigration.hxx index 924995e259f9..33b080946b9d 100644 --- a/desktop/source/migration/services/oo3extensionmigration.hxx +++ b/desktop/source/migration/services/oo3extensionmigration.hxx @@ -50,8 +50,7 @@ namespace migration OUString SAL_CALL OO3ExtensionMigration_getImplementationName(); ::com::sun::star::uno::Sequence< OUString > SAL_CALL OO3ExtensionMigration_getSupportedServiceNames(); ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL OO3ExtensionMigration_create( - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ) - SAL_THROW( (::com::sun::star::uno::Exception) ); + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); diff --git a/desktop/source/migration/services/wordbookmigration.cxx b/desktop/source/migration/services/wordbookmigration.cxx index 0ce3e180cd04..92b7aa9b2b46 100644 --- a/desktop/source/migration/services/wordbookmigration.cxx +++ b/desktop/source/migration/services/wordbookmigration.cxx @@ -294,7 +294,6 @@ bool IsUserWordbook( const OUString& rFile ) Reference< XInterface > SAL_CALL WordbookMigration_create( Reference< XComponentContext > const & ) - SAL_THROW(()) { return static_cast< lang::XTypeProvider * >( new WordbookMigration() ); } diff --git a/desktop/source/migration/services/wordbookmigration.hxx b/desktop/source/migration/services/wordbookmigration.hxx index 6ed7b8968881..503f9c338859 100644 --- a/desktop/source/migration/services/wordbookmigration.hxx +++ b/desktop/source/migration/services/wordbookmigration.hxx @@ -41,8 +41,7 @@ namespace migration OUString SAL_CALL WordbookMigration_getImplementationName(); ::com::sun::star::uno::Sequence< OUString > SAL_CALL WordbookMigration_getSupportedServiceNames(); ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL WordbookMigration_create( - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ) - SAL_THROW( (::com::sun::star::uno::Exception) ); + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ); -- cgit