diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2004-10-28 15:19:52 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2004-10-28 15:19:52 +0000 |
commit | edde3bb03970142244a2e230d137c9483d700eb7 (patch) | |
tree | c9b71a5775a5e6a81d7d3a583c64dfbd3017906f /codemaker | |
parent | aa655a9306b7681b243bc1ed54d23c85f6b6f9ec (diff) |
INTEGRATION: CWS valgrind02 (1.2.138); FILE MERGED
2004/10/11 17:28:31 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/cunomaker/cunomaker.cxx | 12 | ||||
-rw-r--r-- | codemaker/source/idlmaker/idlmaker.cxx | 12 |
2 files changed, 10 insertions, 14 deletions
diff --git a/codemaker/source/cunomaker/cunomaker.cxx b/codemaker/source/cunomaker/cunomaker.cxx index d93c7250c..466859ed2 100644 --- a/codemaker/source/cunomaker/cunomaker.cxx +++ b/codemaker/source/cunomaker/cunomaker.cxx @@ -2,9 +2,9 @@ * * $RCSfile: cunomaker.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jsc $ $Date: 2001-08-17 13:15:48 $ + * last change: $Author: rt $ $Date: 2004-10-28 16:19:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -61,6 +61,8 @@ #include <stdio.h> +#include "sal/main.h" + #ifndef _CODEMAKER_TYPEMANAGER_HXX_ #include <codemaker/typemanager.hxx> #endif @@ -118,11 +120,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) { CunoOptions options; diff --git a/codemaker/source/idlmaker/idlmaker.cxx b/codemaker/source/idlmaker/idlmaker.cxx index 44c4a9098..cf2c706bf 100644 --- a/codemaker/source/idlmaker/idlmaker.cxx +++ b/codemaker/source/idlmaker/idlmaker.cxx @@ -2,9 +2,9 @@ * * $RCSfile: idlmaker.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jsc $ $Date: 2001-08-17 13:15:48 $ + * last change: $Author: rt $ $Date: 2004-10-28 16:19:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -61,6 +61,8 @@ #include <stdio.h> +#include "sal/main.h" + #ifndef _CODEMAKER_TYPEMANAGER_HXX_ #include <codemaker/typemanager.hxx> #endif @@ -118,11 +120,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) { IdlOptions options; |