summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unomodule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/unomodule.cxx')
-rw-r--r--sw/source/uibase/uno/unomodule.cxx18
1 files changed, 8 insertions, 10 deletions
diff --git a/sw/source/uibase/uno/unomodule.cxx b/sw/source/uibase/uno/unomodule.cxx
index da6f74cf3a8c..900e54b17ae3 100644
--- a/sw/source/uibase/uno/unomodule.cxx
+++ b/sw/source/uibase/uno/unomodule.cxx
@@ -46,14 +46,13 @@ uno::Sequence< OUString > SAL_CALL SwUnoModule_getSupportedServiceNames() throw(
uno::Reference< uno::XInterface > SAL_CALL SwUnoModule_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & )
- throw (css::uno::Exception)
{
SolarMutexGuard aGuard;
return uno::Reference< uno::XInterface >( dynamic_cast< frame::XDispatch * >(new SwUnoModule), uno::UNO_QUERY );
}
// XNotifyingDispatch
-void SAL_CALL SwUnoModule::dispatchWithNotification( const util::URL& aURL, const uno::Sequence< beans::PropertyValue >& aArgs, const uno::Reference< frame::XDispatchResultListener >& xListener ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL SwUnoModule::dispatchWithNotification( const util::URL& aURL, const uno::Sequence< beans::PropertyValue >& aArgs, const uno::Reference< frame::XDispatchResultListener >& xListener )
{
// there is no guarantee, that we are holded alive during this method!
// May the outside dispatch container will be updated by a CONTEXT_CHANGED
@@ -86,7 +85,7 @@ void SAL_CALL SwUnoModule::dispatchWithNotification( const util::URL& aURL, cons
}
// XDispatch
-void SAL_CALL SwUnoModule::dispatch( const util::URL& aURL, const uno::Sequence< beans::PropertyValue >& aArgs ) throw( uno::RuntimeException, std::exception )
+void SAL_CALL SwUnoModule::dispatch( const util::URL& aURL, const uno::Sequence< beans::PropertyValue >& aArgs )
{
dispatchWithNotification(aURL, aArgs, uno::Reference< frame::XDispatchResultListener >());
}
@@ -94,18 +93,17 @@ void SAL_CALL SwUnoModule::dispatch( const util::URL& aURL, const uno::Sequence<
void SAL_CALL SwUnoModule::addStatusListener(
const uno::Reference< frame::XStatusListener > & /*xControl*/,
const util::URL& /*aURL*/)
- throw( uno::RuntimeException, std::exception )
{
}
void SAL_CALL SwUnoModule::removeStatusListener(
const uno::Reference< frame::XStatusListener > & /*xControl*/,
- const util::URL& /*aURL*/) throw( uno::RuntimeException, std::exception )
+ const util::URL& /*aURL*/)
{
}
uno::Sequence< uno::Reference< frame::XDispatch > > SAL_CALL SwUnoModule::queryDispatches(
- const uno::Sequence< frame::DispatchDescriptor >& seqDescripts ) throw( uno::RuntimeException, std::exception )
+ const uno::Sequence< frame::DispatchDescriptor >& seqDescripts )
{
sal_Int32 nCount = seqDescripts.getLength();
uno::Sequence< uno::Reference< frame::XDispatch > > lDispatcher( nCount );
@@ -123,7 +121,7 @@ uno::Sequence< uno::Reference< frame::XDispatch > > SAL_CALL SwUnoModule::queryD
// XDispatchProvider
uno::Reference< frame::XDispatch > SAL_CALL SwUnoModule::queryDispatch(
const util::URL& aURL, const OUString& /*sTargetFrameName*/,
- sal_Int32 /*eSearchFlags*/ ) throw( uno::RuntimeException, std::exception )
+ sal_Int32 /*eSearchFlags*/ )
{
uno::Reference< frame::XDispatch > xReturn;
@@ -137,17 +135,17 @@ uno::Reference< frame::XDispatch > SAL_CALL SwUnoModule::queryDispatch(
}
// XServiceInfo
-OUString SAL_CALL SwUnoModule::getImplementationName( ) throw(uno::RuntimeException, std::exception)
+OUString SAL_CALL SwUnoModule::getImplementationName( )
{
return SwUnoModule_getImplementationName();
}
-sal_Bool SAL_CALL SwUnoModule::supportsService( const OUString& sServiceName ) throw(uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL SwUnoModule::supportsService( const OUString& sServiceName )
{
return cppu::supportsService(this, sServiceName);
}
-uno::Sequence< OUString > SAL_CALL SwUnoModule::getSupportedServiceNames( ) throw(uno::RuntimeException, std::exception)
+uno::Sequence< OUString > SAL_CALL SwUnoModule::getSupportedServiceNames( )
{
return SwUnoModule_getSupportedServiceNames();
}