summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/dialogs/colorpicker.cxx2
-rw-r--r--cui/source/inc/colorpicker.hxx3
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);