summaryrefslogtreecommitdiff
path: root/odk/examples/cpp/DocumentLoader
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2003-02-04 08:30:41 +0000
committerJuergen Schmidt <jsc@openoffice.org>2003-02-04 08:30:41 +0000
commitcd93a89eac050be44e3867bf0bd4edb494e15d34 (patch)
treea325f68a025e8d7ecf8f595bd79adb4c8f041843 /odk/examples/cpp/DocumentLoader
parentc1d7ce84fdc8bbc7e491c43503154d0a200e4d15 (diff)
#99053# synchronize with OOO_STABLE_1
Diffstat (limited to 'odk/examples/cpp/DocumentLoader')
-rw-r--r--odk/examples/cpp/DocumentLoader/DocumentLoader.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx b/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx
index 24924ce3f7a7..b74028180a4c 100644
--- a/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx
+++ b/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx
@@ -34,12 +34,12 @@ int SAL_CALL main( int argc, char **argv )
if (argc < 2)
{
printf("using: DocumentLoader <file_url> [<uno_connection_url>]\n\n"
- "example: DocumentLoader \"file://e:/temp/test.sxw\" \"uno:socket,host=localhost,port=8100;urp;StarOffice.ServiceManager\"\n");
+ "example: DocumentLoader \"file:///e:/temp/test.sxw\" \"uno:socket,host=localhost,port=8100;urp;StarOffice.ServiceManager\"\n");
exit(1);
}
if (argc == 3)
{
- sConnectionString = OUString(RTL_CONSTASCII_USTRINGPARAM(argv[2]));
+ sConnectionString = OUString::createFromAscii(argv[2]);
}