summaryrefslogtreecommitdiffstats
path: root/bridges/test/java_uno/acquire/testacquire.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/test/java_uno/acquire/testacquire.cxx')
-rw-r--r--bridges/test/java_uno/acquire/testacquire.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/bridges/test/java_uno/acquire/testacquire.cxx b/bridges/test/java_uno/acquire/testacquire.cxx
index 897986c91aa5..2852437672cc 100644
--- a/bridges/test/java_uno/acquire/testacquire.cxx
+++ b/bridges/test/java_uno/acquire/testacquire.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -493,14 +494,12 @@ sal_Int32 Service::run(css::uno::Sequence< rtl::OUString > const & arguments)
}
rtl::OUString Service::getImplementationName_static() {
- return rtl::OUString::createFromAscii(
- "com.sun.star.test.bridges.testacquire.impl");
+ return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.test.bridges.testacquire.impl" ));
}
css::uno::Sequence< rtl::OUString > Service::getSupportedServiceNames_static() {
css::uno::Sequence< rtl::OUString > names(1);
- names[0] = rtl::OUString::createFromAscii(
- "com.sun.star.test.bridges.testacquire");
+ names[0] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.test.bridges.testacquire" ));
return names;
}
@@ -542,9 +541,9 @@ namespace {
bool writeInfo(void * registryKey, rtl::OUString const & implementationName,
css::uno::Sequence< rtl::OUString > const & serviceNames) {
- rtl::OUString keyName(rtl::OUString::createFromAscii("/"));
+ rtl::OUString keyName( RTL_CONSTASCII_USTRINGPARAM( "/" ));
keyName += implementationName;
- keyName += rtl::OUString::createFromAscii("/UNO/SERVICES");
+ keyName += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "/UNO/SERVICES" ));
css::uno::Reference< css::registry::XRegistryKey > key;
try {
key = static_cast< css::registry::XRegistryKey * >(registryKey)->
@@ -572,3 +571,5 @@ extern "C" sal_Bool SAL_CALL component_writeInfo(void *, void * registryKey) {
&& writeInfo(registryKey, Service::getImplementationName_static(),
Service::getSupportedServiceNames_static());
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */