summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /javaunohelper
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/source/vm.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/javaunohelper/source/vm.cxx b/javaunohelper/source/vm.cxx
index f7c3e6b25e26..9b145b4a1717 100644
--- a/javaunohelper/source/vm.cxx
+++ b/javaunohelper/source/vm.cxx
@@ -55,10 +55,10 @@ public:
// XSingleComponentFactory impl
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithContext(
css::uno::Reference< css::uno::XComponentContext > const & xContext )
- throw (css::uno::Exception);
+ throw (css::uno::Exception, std::exception);
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArgumentsAndContext(
css::uno::Sequence< css::uno::Any > const & args, css::uno::Reference< css::uno::XComponentContext > const & xContext )
- throw (css::uno::Exception);
+ throw (css::uno::Exception, std::exception);
};
void SingletonFactory::disposing()
@@ -68,7 +68,7 @@ void SingletonFactory::disposing()
css::uno::Reference< css::uno::XInterface > SingletonFactory::createInstanceWithContext(
css::uno::Reference< css::uno::XComponentContext > const & xContext )
- throw (css::uno::Exception)
+ throw (css::uno::Exception, std::exception)
{
sal_Int64 handle = reinterpret_cast< sal_Int64 >( m_vm_access.get() );
css::uno::Any arg(
@@ -83,7 +83,7 @@ css::uno::Reference< css::uno::XInterface > SingletonFactory::createInstanceWith
css::uno::Reference< css::uno::XInterface > SingletonFactory::createInstanceWithArgumentsAndContext(
css::uno::Sequence< css::uno::Any > const & args, css::uno::Reference< css::uno::XComponentContext > const & xContext )
- throw (css::uno::Exception)
+ throw (css::uno::Exception, std::exception)
{
return xContext->getServiceManager()->createInstanceWithArgumentsAndContext(
OUString("com.sun.star.java.JavaVirtualMachine"),