From 0e507ae031768deceab236a41d1bbe9fb5123cea Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 5 Jun 2014 08:16:59 +0200 Subject: various: remove SAL_THROW macro Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494 --- cui/source/dialogs/colorpicker.cxx | 2 +- cui/source/inc/colorpicker.hxx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'cui') 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( 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 SAL_CALL ColorPicker_createInstance( - css::uno::Reference const &) - SAL_THROW((css::uno::Exception)); + css::uno::Reference const &); css::uno::Sequence SAL_CALL ColorPicker_getSupportedServiceNames() throw (css::uno::RuntimeException); -- cgit