summaryrefslogtreecommitdiffstats
path: root/odk/examples/DevelopersGuide/Components/CppComponent
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-30 21:28:56 +0100
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-31 16:49:53 +0200
commit4ec9f5d768455014a3c1a189b4168dd8a926a9bc (patch)
tree1ff80ba20152f56011e4730ea53b4e6e9c9f990f /odk/examples/DevelopersGuide/Components/CppComponent
parent#119750# corrected opacity import for SC comment shapes and their shadow visu... (diff)
downloadcore-4ec9f5d768455014a3c1a189b4168dd8a926a9bc.tar.gz
core-4ec9f5d768455014a3c1a189b4168dd8a926a9bc.zip
Remove RTL_CONSTASCII_(U)STRINGPARAM in odk(Developersguide)
Change-Id: Ic2a2cf04a691f628e862e81579d3d55d261fc492
Diffstat (limited to 'odk/examples/DevelopersGuide/Components/CppComponent')
-rw-r--r--odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx6
-rw-r--r--odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx6
2 files changed, 4 insertions, 8 deletions
diff --git a/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx b/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx
index a43156aee03f..a5cad0ef4fce 100644
--- a/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx
+++ b/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx
@@ -208,15 +208,13 @@ OUString MyService1Impl::methodOne( OUString const & str )
throw (RuntimeException)
{
m_sData = str;
- return OUString( RTL_CONSTASCII_USTRINGPARAM(
- "called methodOne() of MyService1 implementation: ") ) + m_sData;
+ return OUString( "called methodOne() of MyService1 implementation: " ) + m_sData;
}
OUString MyService1Impl::methodTwo( )
throw (RuntimeException)
{
- return OUString( RTL_CONSTASCII_USTRINGPARAM(
- "called methodTwo() of MyService1 implementation: ") ) + m_sData;
+ return OUString( "called methodTwo() of MyService1 implementation: " ) + m_sData;
}
// XServiceInfo implementation
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