diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-10-28 15:19:11 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-10-28 15:19:11 +0000 |
commit | 01672e7629c671657b8ae21912448d095c61718a (patch) | |
tree | 82ec48d589e7d35944452bedd54b603a56629ffa /codemaker | |
parent | 66468fa849a556ebb01aa040fa143be15d372c6d (diff) |
INTEGRATION: CWS valgrind02 (1.2.138); FILE MERGED
2004/10/11 17:28:29 mhu 1.2.138.1: #i35209# Adapted to use SAL_IMPLEMENT_MAIN_WITH_ARGS() macro instead of plain main() function.
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/bonobowrappermaker/corbamaker.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/codemaker/source/bonobowrappermaker/corbamaker.cxx b/codemaker/source/bonobowrappermaker/corbamaker.cxx index 69f605885c3a..ed7bd6dcb1d3 100644 --- a/codemaker/source/bonobowrappermaker/corbamaker.cxx +++ b/codemaker/source/bonobowrappermaker/corbamaker.cxx @@ -3,9 +3,9 @@ * * $RCSfile: corbamaker.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jsc $ $Date: 2001-08-17 13:15:47 $ + * last change: $Author: rt $ $Date: 2004-10-28 16:19:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,6 +62,8 @@ #include <stdio.h> +#include "sal/main.h" + #ifndef _CODEMAKER_TYPEMANAGER_HXX_ #include <codemaker/typemanager.hxx> #endif @@ -123,11 +125,7 @@ sal_Bool produceAllTypes(const OString& typeName, return sal_True; } -#if (defined UNX) || (defined OS2) -int main( int argc, char * argv[] ) -#else -int _cdecl main( int argc, char * argv[] ) -#endif +SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { CorbaOptions options; |