diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx')
-rw-r--r-- | odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx b/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx index 6d498dbe95df..af999111d893 100644 --- a/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx +++ b/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx @@ -158,8 +158,7 @@ sal_Bool MyService2Impl::supportsService( OUString const & serviceName ) throw (RuntimeException) { // this object only supports one service, so the test is simple - return serviceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( - "my_module.MyService2") ); + return serviceName == "my_module.MyService2"; } Sequence< OUString > MyService2Impl::getSupportedServiceNames() |