diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx')
-rw-r--r-- | odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx b/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx index 8080e5638515..dbd11bcecd8a 100644 --- a/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx +++ b/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx @@ -231,8 +231,7 @@ sal_Bool MyService1Impl::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.MyService1") ); + return serviceName == "my_module.MyService1"; } Sequence< OUString > MyService1Impl::getSupportedServiceNames() throw (RuntimeException) |