summaryrefslogtreecommitdiff
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
commit736bb3f906c195a7960eb6059cb2c57411990f0f (patch)
tree97cfa1a39e96fcfb0ccbc4c82d9f43e65654c1f1
parent195364b0b5e9a28a20f17f406978917f3809298e (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.
-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 ce60e97c0fa2..1c80ccca5f7c 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;