summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-10-28 15:22:40 +0000
committerRüdiger Timm <rt@openoffice.org>2004-10-28 15:22:40 +0000
commited3e441168b718e0f50c80bded3af3d5ea172ac5 (patch)
tree971ff8cd4ca651fc55ba1499ce85e9c402512b16 /cpputools
parent064e4c2ff80cbebcabff2a4413ade07d84cf81d4 (diff)
INTEGRATION: CWS valgrind02 (1.18.12); FILE MERGED
2004/10/11 17:37:36 mhu 1.18.12.2: #i35209# Moved main() / SAL_IMPLEMENT_MAIN...() into global namespace. 2004/10/11 17:27:11 mhu 1.18.12.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/unoexe/unoexe.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx
index c64f8df64d71..fd4f3d805e1a 100644
--- a/cpputools/source/unoexe/unoexe.cxx
+++ b/cpputools/source/unoexe/unoexe.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoexe.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: kz $ $Date: 2004-06-11 12:33:40 $
+ * last change: $Author: rt $ $Date: 2004-10-28 16:22:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,6 +62,7 @@
#include <stdio.h>
#include <vector>
+#include "sal/main.h"
#include <osl/diagnose.h>
#include <osl/mutex.hxx>
#include <osl/conditn.hxx>
@@ -640,8 +641,11 @@ void ODisposingListener::waitFor( const Reference< XComponent > & xComp )
//##################################################################################################
+} // namespace unoexe
-extern "C" int SAL_CALL main( int argc, const char * argv[] )
+using namespace unoexe;
+
+SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
{
if (argc <= 1)
{
@@ -918,6 +922,5 @@ extern "C" int SAL_CALL main( int argc, const char * argv[] )
return nRet;
}
-}