diff options
Diffstat (limited to 'javaunohelper/source/vm.cxx')
-rw-r--r-- | javaunohelper/source/vm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javaunohelper/source/vm.cxx b/javaunohelper/source/vm.cxx index ba2f4cf9c839..cccec06fc619 100644 --- a/javaunohelper/source/vm.cxx +++ b/javaunohelper/source/vm.cxx @@ -77,7 +77,7 @@ css::uno::Reference< css::uno::XInterface > SingletonFactory::createInstanceWith OUString( "UnoVirtualMachine" ), css::uno::makeAny( handle ) ) ) ); return xContext->getServiceManager()->createInstanceWithArgumentsAndContext( - OUString("com.sun.star.java.JavaVirtualMachine"), + "com.sun.star.java.JavaVirtualMachine", css::uno::Sequence< css::uno::Any >( &arg, 1 ), xContext ); } @@ -86,7 +86,7 @@ css::uno::Reference< css::uno::XInterface > SingletonFactory::createInstanceWith throw (css::uno::Exception, std::exception) { return xContext->getServiceManager()->createInstanceWithArgumentsAndContext( - OUString("com.sun.star.java.JavaVirtualMachine"), + "com.sun.star.java.JavaVirtualMachine", args, xContext ); } |