summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-27 16:06:25 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-28 14:00:02 +0100
commitcb0529ccb8655a8424721659e19d9b65ec20f92a (patch)
tree3463049a0ab0adb283cd5ff1957e5a791615c4ce /winaccessibility
parentb2a953f3a41a2f038ba5fee0a36a936d3a36ce55 (diff)
-Werror,-Wmicrosoft-exception-spec
Change-Id: I71983978713eedbd1250083e607bfadaa824c2ef
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/source/service/msaaservice_impl.cxx36
1 files changed, 24 insertions, 12 deletions
diff --git a/winaccessibility/source/service/msaaservice_impl.cxx b/winaccessibility/source/service/msaaservice_impl.cxx
index b39e8fd23a39..6ca7842d5e9f 100644
--- a/winaccessibility/source/service/msaaservice_impl.cxx
+++ b/winaccessibility/source/service/msaaservice_impl.cxx
@@ -67,19 +67,29 @@ public:
virtual ~MSAAServiceImpl();
// XComponent - as used by VCL to lifecycle manage this bridge.
- virtual void SAL_CALL dispose();
- virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& ) { /* dummy */ }
- virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& ) { /* dummy */ }
+ virtual void SAL_CALL dispose()
+ throw (css::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& )
+ throw (css::uno::RuntimeException, std::exception)
+ { /* dummy */ }
+ virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& )
+ throw (css::uno::RuntimeException, std::exception)
+ { /* dummy */ }
// XMSAAService
virtual sal_Int64 SAL_CALL getAccObjectPtr(
- sal_Int64 hWnd, sal_Int64 lParam, sal_Int64 wParam);
- virtual void SAL_CALL handleWindowOpened(sal_Int64);
+ sal_Int64 hWnd, sal_Int64 lParam, sal_Int64 wParam)
+ throw (css::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL handleWindowOpened(sal_Int64)
+ throw (css::uno::RuntimeException, std::exception);
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName();
- virtual sal_Bool SAL_CALL supportsService( OUString const & serviceName );
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames();
+ virtual OUString SAL_CALL getImplementationName()
+ throw (css::uno::RuntimeException, std::exception);
+ virtual sal_Bool SAL_CALL supportsService( OUString const & serviceName )
+ throw (css::uno::RuntimeException, std::exception);
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames()
+ throw (css::uno::RuntimeException, std::exception);
};
/**
@@ -89,7 +99,7 @@ public:
*/
sal_Int64 MSAAServiceImpl::getAccObjectPtr(
sal_Int64 hWnd, sal_Int64 lParam, sal_Int64 wParam)
-throw (RuntimeException)
+throw (RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -107,6 +117,7 @@ throw (RuntimeException)
* @return
*/
void MSAAServiceImpl::handleWindowOpened(sal_Int64 nAcc)
+ throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -120,7 +131,7 @@ void MSAAServiceImpl::handleWindowOpened(sal_Int64 nAcc)
}
}
-OUString MSAAServiceImpl::getImplementationName() throw (RuntimeException)
+OUString MSAAServiceImpl::getImplementationName() throw (RuntimeException, std::exception)
{
return getImplementationName_MSAAServiceImpl();
}
@@ -130,7 +141,7 @@ OUString MSAAServiceImpl::getImplementationName() throw (RuntimeException)
* @param Service name.
* @return If the service name is supported.
*/
-sal_Bool MSAAServiceImpl::supportsService( OUString const & serviceName ) throw (RuntimeException)
+sal_Bool MSAAServiceImpl::supportsService( OUString const & serviceName ) throw (RuntimeException, std::exception)
{
return cppu::supportsService(this, serviceName);
}
@@ -140,7 +151,7 @@ sal_Bool MSAAServiceImpl::supportsService( OUString const & serviceName ) throw
* @param.
* @return service name sequence.
*/
-Sequence< OUString > MSAAServiceImpl::getSupportedServiceNames() throw (RuntimeException)
+Sequence< OUString > MSAAServiceImpl::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
return getSupportedServiceNames_MSAAServiceImpl();
}
@@ -271,6 +282,7 @@ MSAAServiceImpl::~MSAAServiceImpl()
}
void MSAAServiceImpl::dispose()
+ throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;