summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-27 09:28:39 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-27 09:28:39 +0100
commit1d922012beecb3e94a1bbe521010d92486102d6c (patch)
tree841a990632293e7c0704e8575bef6ea00dc25077 /odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx
parent7ccc9aaef5c992f7baa7b0c547e3f3a2c06056fe (diff)
RTL_CONSTASCII_USTRINGPARAM in sdk 2
Notes
Notes: split repo tag: sdk_LIBREOFFICE_PRE_BOOTSTRAP_BUILD
Diffstat (limited to 'odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx')
-rw-r--r--odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx b/odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx
index e24ff2de8fa1..a02b184047da 100644
--- a/odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx
+++ b/odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx
@@ -75,8 +75,8 @@ SAL_IMPLEMENT_MAIN()
try
{
// resolve the uno-url
- rInstance = rResolver->resolve( OUString::createFromAscii(
- "uno:socket,host=localhost,port=2083;urp;StarOffice.ServiceManager" ) );
+ rInstance = rResolver->resolve( OUString(RTL_CONSTASCII_USTRINGPARAM(
+ "uno:socket,host=localhost,port=2083;urp;StarOffice.ServiceManager" )) );
if( ! rInstance.is() )
{