diff options
author | Kurt Zenker <kz@openoffice.org> | 2009-12-03 16:14:12 +0100 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2009-12-03 16:14:12 +0100 |
commit | 1996f5a390833943b57ec8af6b4c8aa766094c6a (patch) | |
tree | c67bce1a1b5411cad52b273acbc39bff9b9c7bc0 /odk/examples/cpp/counter/countermain.cxx | |
parent | 831b42e5106c3d76b9dcc0458645b6feaf2a1224 (diff) | |
parent | 6dec89d05701908ab499b5a96945cb25115d3dd1 (diff) |
update to current version
Notes
Notes:
split repo tag: sdk_ooo/DEV300_m67
Diffstat (limited to 'odk/examples/cpp/counter/countermain.cxx')
-rw-r--r-- | odk/examples/cpp/counter/countermain.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/odk/examples/cpp/counter/countermain.cxx b/odk/examples/cpp/counter/countermain.cxx index 5328f356124e..ce3b277e3044 100644 --- a/odk/examples/cpp/counter/countermain.cxx +++ b/odk/examples/cpp/counter/countermain.cxx @@ -48,6 +48,7 @@ #include <stdio.h> +#include <sal/main.h> #include <rtl/ustring.hxx> #include <osl/diagnose.h> @@ -71,7 +72,7 @@ using namespace ::rtl; //======================================================================= -int SAL_CALL main(int argc, char **argv) +SAL_IMPLEMENT_MAIN() { Reference< XSimpleRegistry > xReg = createSimpleRegistry(); OSL_ENSURE( xReg.is(), "### cannot get service instance of \"com.sun.star.regiystry.SimpleRegistry\"!" ); |