From e8eab43eebecfcaf277d01b1c99ea003199866e4 Mon Sep 17 00:00:00 2001 From: Philipp Riemer Date: Mon, 6 May 2013 19:17:14 +0200 Subject: cleanup whitespaces due to RTL_CONSTASCII_USTRINGPARAM removal In e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 the method was removed automatically leaving several line breaks etc. as visual noise. --- javaunohelper/source/vm.cxx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'javaunohelper') diff --git a/javaunohelper/source/vm.cxx b/javaunohelper/source/vm.cxx index 511887406bae..f7c3e6b25e26 100644 --- a/javaunohelper/source/vm.cxx +++ b/javaunohelper/source/vm.cxx @@ -77,8 +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"), + OUString("com.sun.star.java.JavaVirtualMachine"), css::uno::Sequence< css::uno::Any >( &arg, 1 ), xContext ); } @@ -87,8 +86,7 @@ css::uno::Reference< css::uno::XInterface > SingletonFactory::createInstanceWith throw (css::uno::Exception) { return xContext->getServiceManager()->createInstanceWithArgumentsAndContext( - OUString( - "com.sun.star.java.JavaVirtualMachine"), + OUString("com.sun.star.java.JavaVirtualMachine"), args, xContext ); } @@ -108,9 +106,7 @@ namespace javaunohelper { loader ); } catch ( ::jvmaccess::UnoVirtualMachine::CreationException & ) { throw css::uno::RuntimeException( - OUString( - "jmvaccess::UnoVirtualMachine::CreationException" - " occurred" ), + OUString("jmvaccess::UnoVirtualMachine::CreationException occurred" ), css::uno::Reference< css::uno::XInterface >() ); } } @@ -121,8 +117,7 @@ css::uno::Reference< css::uno::XComponentContext > install_vm_singleton( { css::uno::Reference< css::lang::XSingleComponentFactory > xFac( new SingletonFactory( vm_access ) ); ::cppu::ContextEntry_Init entry( - OUString( - "/singletons/com.sun.star.java.theJavaVirtualMachine"), + OUString("/singletons/com.sun.star.java.theJavaVirtualMachine"), css::uno::makeAny( xFac ), true ); return ::cppu::createComponentContext( &entry, 1, xContext ); } -- cgit v1.2.3