diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2004-10-28 15:22:25 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2004-10-28 15:22:25 +0000 |
commit | 064e4c2ff80cbebcabff2a4413ade07d84cf81d4 (patch) | |
tree | 497aa1286a6bd4b1873c8920d10cd83c9262267a /cpputools/source/regsingleton | |
parent | INTEGRATION: CWS valgrind02 (1.14.20); FILE MERGED (diff) | |
download | core-064e4c2ff80cbebcabff2a4413ade07d84cf81d4.tar.gz core-064e4c2ff80cbebcabff2a4413ade07d84cf81d4.zip |
INTEGRATION: CWS valgrind02 (1.2.106); FILE MERGED
2004/10/11 17:27:11 mhu 1.2.106.1: #i35209# Adapted to use SAL_IMPLEMENT_MAIN_WITH_ARGS() macro instead of plain main() function.
Diffstat (limited to 'cpputools/source/regsingleton')
-rw-r--r-- | cpputools/source/regsingleton/regsingleton.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpputools/source/regsingleton/regsingleton.cxx b/cpputools/source/regsingleton/regsingleton.cxx index bb2c7cb2fe69..39729a30e332 100644 --- a/cpputools/source/regsingleton/regsingleton.cxx +++ b/cpputools/source/regsingleton/regsingleton.cxx @@ -2,9 +2,9 @@ * * $RCSfile: regsingleton.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: dbo $ $Date: 2002-09-11 08:24:34 $ + * last change: $Author: rt $ $Date: 2004-10-28 16:22:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -61,6 +61,7 @@ #include <stdio.h> +#include "sal/main.h" #include <osl/diagnose.h> #include <osl/file.h> @@ -84,7 +85,7 @@ static void print_options() SAL_THROW( () ) } //================================================================================================== -extern "C" int SAL_CALL main( int argc, char const * argv [] ) +SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { if (argc < 3) { |