summaryrefslogtreecommitdiffstats
path: root/stoc/test/tdmanager/testtdmanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/test/tdmanager/testtdmanager.cxx')
-rw-r--r--stoc/test/tdmanager/testtdmanager.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/stoc/test/tdmanager/testtdmanager.cxx b/stoc/test/tdmanager/testtdmanager.cxx
index 53b793c8fbe4..6f3542697b94 100644
--- a/stoc/test/tdmanager/testtdmanager.cxx
+++ b/stoc/test/tdmanager/testtdmanager.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.
@@ -298,7 +299,7 @@ sal_Int32 Service::run(css::uno::Sequence< rtl::OUString > const & arguments)
}
rtl::OUString Service::getImplementationName() {
- return rtl::OUString::createFromAscii("test.tdmanager.impl");
+ return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("test.tdmanager.impl"));
}
css::uno::Sequence< rtl::OUString > Service::getSupportedServiceNames() {
@@ -342,9 +343,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)->
@@ -372,3 +373,5 @@ extern "C" sal_Bool SAL_CALL component_writeInfo(void *, void * registryKey) {
&& writeInfo(registryKey, Service::getImplementationName(),
Service::getSupportedServiceNames());
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */