diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-10-28 15:26:44 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-10-28 15:26:44 +0000 |
commit | bef6250a558e3bef23f19b318793158c8021f388 (patch) | |
tree | 4ce082686ac68d2baea4a7bb7915bba4ca8de6d4 /sal | |
parent | e4c2f01ee9201167a08d12e0b875240f4f79c271 (diff) |
INTEGRATION: CWS valgrind02 (1.2.62); FILE MERGED
2004/10/20 14:36:05 mhu 1.2.62.1: #i35209# Adapted to use SAL_IMPLEMENT_MAIN_WITH_ARGS() macro as recommended.
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/rtl/bootstrap/bootstrap_process.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sal/qa/rtl/bootstrap/bootstrap_process.cxx b/sal/qa/rtl/bootstrap/bootstrap_process.cxx index cb6def2f2a4b..c1abf2698165 100644 --- a/sal/qa/rtl/bootstrap/bootstrap_process.cxx +++ b/sal/qa/rtl/bootstrap/bootstrap_process.cxx @@ -2,9 +2,9 @@ * * $RCSfile: bootstrap_process.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2004-05-03 09:06:32 $ + * last change: $Author: rt $ $Date: 2004-10-28 16:26:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -61,6 +61,10 @@ #include <stdlib.h> #include <stdio.h> +#ifndef _SAL_MAIN_H_ +#include "sal/main.h" +#endif + #ifndef _RTL_BOOTSTRAP_HXX_ #include <rtl/bootstrap.hxx> #endif @@ -76,11 +80,7 @@ using namespace ::rtl; // ----------------------------------- Main ----------------------------------- -#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) { Bootstrap aBootstrap; //custom .ini/rc file |