summaryrefslogtreecommitdiffstats
path: root/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx')
-rw-r--r--odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx b/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx
index ba6bf5d29410..ac86ea1a3764 100644
--- a/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx
+++ b/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx
@@ -134,15 +134,13 @@ OUString MyService2Impl::methodOne( OUString const & str )
throw (RuntimeException)
{
m_sData = str;
- return OUString( RTL_CONSTASCII_USTRINGPARAM(
- "called methodOne() of MyService2 implementation: ") ) + m_sData;
+ return OUString( "called methodOne() of MyService2 implementation: " ) + m_sData;
}
OUString MyService2Impl::methodTwo( )
throw (RuntimeException)
{
- return OUString( RTL_CONSTASCII_USTRINGPARAM(
- "called methodTwo() of MyService2 implementation: ") ) + m_sData;
+ return OUString( "called methodTwo() of MyService2 implementation: " ) + m_sData;
}
// XServiceInfo implementation