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
commit2595c707ff3cdd6d52b69ab6d2270c12e0631113 (patch)
tree1bddc5fa5930cd01d1cb72aafeda4166e9cbf6bd /cpputools
parent6736c3f469dbb03f99456df9f217e66588dfcafd (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 4362aeca2..bcf4db675 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;
}
-}