diff options
author | Juergen Schmidt <jsc@openoffice.org> | 2009-11-04 10:14:03 +0000 |
---|---|---|
committer | Juergen Schmidt <jsc@openoffice.org> | 2009-11-04 10:14:03 +0000 |
commit | 9ae3e2b12d9dfc70eab034414fcef4228051cbc8 (patch) | |
tree | a6979581834b59ccae635449901dd2d01bec932f | |
parent | 87d0adf849adb6bb48a178fe6efc2ba5b8852f1f (diff) |
#160584# use SAL_IMPLEMENT_MAIN_WITH_ARGS macro
-rw-r--r-- | odk/examples/cpp/DocumentLoader/DocumentLoader.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx b/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx index 2ffa36153c9d..c1e752c31101 100644 --- a/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx +++ b/odk/examples/cpp/DocumentLoader/DocumentLoader.cxx @@ -48,6 +48,8 @@ #include <stdio.h> #include <wchar.h> +#include <sal/main.h> + #include <cppuhelper/bootstrap.hxx> #include <osl/file.hxx> @@ -70,8 +72,9 @@ using namespace com::sun::star::frame; using namespace com::sun::star::registry; + //============================================================================ -int SAL_CALL main( int argc, char **argv ) +SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { OUString sConnectionString(RTL_CONSTASCII_USTRINGPARAM("uno:socket,host=localhost,port=2083;urp;StarOffice.ServiceManager")); if (argc < 2) |