summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/source/vm.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/javaunohelper/source/vm.cxx b/javaunohelper/source/vm.cxx
index 794a1d51208c..4b42b5446cb9 100644
--- a/javaunohelper/source/vm.cxx
+++ b/javaunohelper/source/vm.cxx
@@ -54,11 +54,9 @@ 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, std::exception) override;
+ css::uno::Reference< css::uno::XComponentContext > const & xContext ) override;
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, std::exception) override;
+ css::uno::Sequence< css::uno::Any > const & args, css::uno::Reference< css::uno::XComponentContext > const & xContext ) override;
};
void SingletonFactory::disposing()
@@ -68,7 +66,6 @@ void SingletonFactory::disposing()
css::uno::Reference< css::uno::XInterface > SingletonFactory::createInstanceWithContext(
css::uno::Reference< css::uno::XComponentContext > const & xContext )
- throw (css::uno::Exception, std::exception)
{
sal_Int64 handle = reinterpret_cast< sal_Int64 >( m_vm_access.get() );
css::uno::Any arg(
@@ -83,7 +80,6 @@ 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, std::exception)
{
return xContext->getServiceManager()->createInstanceWithArgumentsAndContext(
"com.sun.star.java.JavaVirtualMachine",