summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-10-28 15:22:10 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-10-28 15:22:10 +0000
commitf9cb753215b17620275fed4acd7426fac32e8568 (patch)
treec990bf327aa89a99d960a8c7c0b4d602036bd370 /cpputools
parent0d947c49bc16a7b436655b1e491e2d8ace5d62f7 (diff)
INTEGRATION: CWS valgrind02 (1.14.20); FILE MERGED
2004/10/11 17:27:10 mhu 1.14.20.1: #i35209# Adapted to use SAL_IMPLEMENT_MAIN_WITH_ARGS() macro instead of plain main() function.
Diffstat (limited to 'cpputools')
-rw-r--r--cpputools/source/registercomponent/registercomponent.cxx14
1 files changed, 5 insertions, 9 deletions
diff --git a/cpputools/source/registercomponent/registercomponent.cxx b/cpputools/source/registercomponent/registercomponent.cxx
index 01700eeed..925e93f02 100644
--- a/cpputools/source/registercomponent/registercomponent.cxx
+++ b/cpputools/source/registercomponent/registercomponent.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: registercomponent.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: svesik $ $Date: 2004-04-21 14:22:12 $
+ * last change: $Author: rt $ $Date: 2004-10-28 16:22:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -63,7 +63,8 @@
#include <string.h>
#include <vector>
-#
+
+#include "sal/main.h"
#include <rtl/strbuf.hxx>
#include <cppuhelper/servicefactory.hxx>
@@ -729,12 +730,7 @@ static void bootstrap(
}
}
-
-#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)
{
sal_Bool bRet = sal_False;
sal_uInt32 exitCode = 0;