summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx')
-rw-r--r--odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx b/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx
index 606c8385f7c0..4eb89c3cd72d 100644
--- a/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx
+++ b/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx
@@ -54,14 +54,14 @@ namespace my_sc_impl
Sequence< OUString > SAL_CALL getSupportedServiceNames_MyService1Impl()
{
Sequence< OUString > names(1);
- names[0] = OUString(RTL_CONSTASCII_USTRINGPARAM("my_module.MyService1"));
+ names[0] = OUString("my_module.MyService1");
return names;
}
OUString SAL_CALL getImplementationName_MyService1Impl()
{
- return OUString( RTL_CONSTASCII_USTRINGPARAM(
- "my_module.my_sc_implementation.MyService1") );
+ return OUString(
+ "my_module.my_sc_implementation.MyService1");
}
@@ -224,8 +224,8 @@ OUString MyService1Impl::getImplementationName()
throw (RuntimeException)
{
// unique implementation name
- return OUString( RTL_CONSTASCII_USTRINGPARAM(
- "my_module.my_sc_implementation.MyService1") );
+ return OUString(
+ "my_module.my_sc_implementation.MyService1");
}
sal_Bool MyService1Impl::supportsService( OUString const & serviceName )
throw (RuntimeException)