summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-10-28 15:19:27 +0000
committerRüdiger Timm <rt@openoffice.org>2004-10-28 15:19:27 +0000
commit3d2d1e551cce20dafad6ce81faf82d35ba0dca01 (patch)
tree2ed1ba73d854cc7c02b14aeb38eb81d991f492dc /codemaker
parent01672e7629c671657b8ae21912448d095c61718a (diff)
INTEGRATION: CWS valgrind02 (1.5.16); FILE MERGED
2004/10/11 17:28:30 mhu 1.5.16.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/cppumaker/cppumaker.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/codemaker/source/cppumaker/cppumaker.cxx b/codemaker/source/cppumaker/cppumaker.cxx
index 031f4e3d870f..96d14f8234d8 100644
--- a/codemaker/source/cppumaker/cppumaker.cxx
+++ b/codemaker/source/cppumaker/cppumaker.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cppumaker.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2004-07-23 14:45:39 $
+ * last change: $Author: rt $ $Date: 2004-10-28 16:19:27 $
*
* 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
@@ -122,11 +124,7 @@ void produceAllTypes(
}
-#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)
{
CppuOptions options;