Kaydet (Commit) 0a997700 authored tarafından Noel Grandin's avatar Noel Grandin

desktop: remove SAL_THROW macro

Change-Id: I523d47b443bc7a3fc8129b3a15643560e3971782
üst ea41de0b
...@@ -228,7 +228,6 @@ namespace migration ...@@ -228,7 +228,6 @@ namespace migration
Reference< XInterface > SAL_CALL BasicMigration_create( Reference< XInterface > SAL_CALL BasicMigration_create(
Reference< XComponentContext > const & ) Reference< XComponentContext > const & )
SAL_THROW(())
{ {
return static_cast< lang::XTypeProvider * >( new BasicMigration() ); return static_cast< lang::XTypeProvider * >( new BasicMigration() );
} }
......
...@@ -41,8 +41,7 @@ namespace migration ...@@ -41,8 +41,7 @@ namespace migration
OUString SAL_CALL BasicMigration_getImplementationName(); OUString SAL_CALL BasicMigration_getImplementationName();
::com::sun::star::uno::Sequence< OUString > SAL_CALL BasicMigration_getSupportedServiceNames(); ::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::XInterface > SAL_CALL BasicMigration_create(
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ) ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext );
SAL_THROW( (::com::sun::star::uno::Exception) );
......
...@@ -485,7 +485,6 @@ void TmpRepositoryCommandEnv::pop() throw (uno::RuntimeException, std::exception ...@@ -485,7 +485,6 @@ void TmpRepositoryCommandEnv::pop() throw (uno::RuntimeException, std::exception
Reference< XInterface > SAL_CALL OO3ExtensionMigration_create( Reference< XInterface > SAL_CALL OO3ExtensionMigration_create(
Reference< XComponentContext > const & ctx ) Reference< XComponentContext > const & ctx )
SAL_THROW(())
{ {
return static_cast< lang::XTypeProvider * >( new OO3ExtensionMigration( return static_cast< lang::XTypeProvider * >( new OO3ExtensionMigration(
ctx) ); ctx) );
......
...@@ -50,8 +50,7 @@ namespace migration ...@@ -50,8 +50,7 @@ namespace migration
OUString SAL_CALL OO3ExtensionMigration_getImplementationName(); OUString SAL_CALL OO3ExtensionMigration_getImplementationName();
::com::sun::star::uno::Sequence< OUString > SAL_CALL OO3ExtensionMigration_getSupportedServiceNames(); ::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::XInterface > SAL_CALL OO3ExtensionMigration_create(
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ) ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext );
SAL_THROW( (::com::sun::star::uno::Exception) );
......
...@@ -294,7 +294,6 @@ bool IsUserWordbook( const OUString& rFile ) ...@@ -294,7 +294,6 @@ bool IsUserWordbook( const OUString& rFile )
Reference< XInterface > SAL_CALL WordbookMigration_create( Reference< XInterface > SAL_CALL WordbookMigration_create(
Reference< XComponentContext > const & ) Reference< XComponentContext > const & )
SAL_THROW(())
{ {
return static_cast< lang::XTypeProvider * >( new WordbookMigration() ); return static_cast< lang::XTypeProvider * >( new WordbookMigration() );
} }
......
...@@ -41,8 +41,7 @@ namespace migration ...@@ -41,8 +41,7 @@ namespace migration
OUString SAL_CALL WordbookMigration_getImplementationName(); OUString SAL_CALL WordbookMigration_getImplementationName();
::com::sun::star::uno::Sequence< OUString > SAL_CALL WordbookMigration_getSupportedServiceNames(); ::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::XInterface > SAL_CALL WordbookMigration_create(
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext ) ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext );
SAL_THROW( (::com::sun::star::uno::Exception) );
......
...@@ -66,7 +66,6 @@ class Provider: ...@@ -66,7 +66,6 @@ class Provider:
public: public:
static css::uno::Reference< css::uno::XInterface > SAL_CALL static_create( static css::uno::Reference< css::uno::XInterface > SAL_CALL static_create(
css::uno::Reference< css::uno::XComponentContext > const & xContext) css::uno::Reference< css::uno::XComponentContext > const & xContext)
SAL_THROW((css::uno::Exception))
{ return static_cast< cppu::OWeakObject * >(new Provider(xContext)); } { return static_cast< cppu::OWeakObject * >(new Provider(xContext)); }
static OUString SAL_CALL static_getImplementationName(); static OUString SAL_CALL static_getImplementationName();
...@@ -158,7 +157,6 @@ class Dispatch: ...@@ -158,7 +157,6 @@ class Dispatch:
public: public:
static css::uno::Reference< css::uno::XInterface > SAL_CALL static_create( static css::uno::Reference< css::uno::XInterface > SAL_CALL static_create(
css::uno::Reference< css::uno::XComponentContext > const & xContext) css::uno::Reference< css::uno::XComponentContext > const & xContext)
SAL_THROW((css::uno::Exception))
{ return static_cast< cppu::OWeakObject * >(new Dispatch(xContext)); } { return static_cast< cppu::OWeakObject * >(new Dispatch(xContext)); }
static OUString SAL_CALL static_getImplementationName(); static OUString SAL_CALL static_getImplementationName();
......
...@@ -63,7 +63,6 @@ class Provider: ...@@ -63,7 +63,6 @@ class Provider:
public: public:
static css::uno::Reference< css::uno::XInterface > SAL_CALL static_create( static css::uno::Reference< css::uno::XInterface > SAL_CALL static_create(
css::uno::Reference< css::uno::XComponentContext > const & xContext) css::uno::Reference< css::uno::XComponentContext > const & xContext)
SAL_THROW((css::uno::Exception))
{ return static_cast< cppu::OWeakObject * >(new Provider(xContext)); } { return static_cast< cppu::OWeakObject * >(new Provider(xContext)); }
static OUString SAL_CALL static_getImplementationName(); static OUString SAL_CALL static_getImplementationName();
...@@ -155,7 +154,6 @@ class Dispatch: ...@@ -155,7 +154,6 @@ class Dispatch:
public: public:
static css::uno::Reference< css::uno::XInterface > SAL_CALL static_create( static css::uno::Reference< css::uno::XInterface > SAL_CALL static_create(
css::uno::Reference< css::uno::XComponentContext > const & xContext) css::uno::Reference< css::uno::XComponentContext > const & xContext)
SAL_THROW((css::uno::Exception))
{ return static_cast< cppu::OWeakObject * >(new Dispatch(xContext)); } { return static_cast< cppu::OWeakObject * >(new Dispatch(xContext)); }
static OUString SAL_CALL static_getImplementationName(); static OUString SAL_CALL static_getImplementationName();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment