diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-05 08:16:59 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-05 08:17:52 +0200 |
commit | 0e507ae031768deceab236a41d1bbe9fb5123cea (patch) | |
tree | 34cc1626f1e8fa6d50d6edd88045be6252150f19 /cui/source | |
parent | db246b491c1639942d9f952658d33974e9b06201 (diff) |
various: remove SAL_THROW macro
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/dialogs/colorpicker.cxx | 2 | ||||
-rw-r--r-- | cui/source/inc/colorpicker.hxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx index a44c4c07536e..e7e98d900635 100644 --- a/cui/source/dialogs/colorpicker.cxx +++ b/cui/source/dialogs/colorpicker.cxx @@ -1417,7 +1417,7 @@ OUString SAL_CALL ColorPicker_getImplementationName() return OUString( "com.sun.star.cui.ColorPicker" ); } -Reference< XInterface > SAL_CALL ColorPicker_createInstance( Reference< XComponentContext > const & xContext ) SAL_THROW( (Exception) ) +Reference< XInterface > SAL_CALL ColorPicker_createInstance( Reference< XComponentContext > const & xContext ) { return static_cast<XWeak*>( new ColorPicker( xContext ) ); } diff --git a/cui/source/inc/colorpicker.hxx b/cui/source/inc/colorpicker.hxx index c5fe678bafbe..c6dfeebaa949 100644 --- a/cui/source/inc/colorpicker.hxx +++ b/cui/source/inc/colorpicker.hxx @@ -39,8 +39,7 @@ namespace cui { OUString SAL_CALL ColorPicker_getImplementationName(); css::uno::Reference<css::uno::XInterface> SAL_CALL ColorPicker_createInstance( - css::uno::Reference<css::uno::XComponentContext> const &) - SAL_THROW((css::uno::Exception)); + css::uno::Reference<css::uno::XComponentContext> const &); css::uno::Sequence<OUString> SAL_CALL ColorPicker_getSupportedServiceNames() throw (css::uno::RuntimeException); |