From ed3e441168b718e0f50c80bded3af3d5ea172ac5 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Thu, 28 Oct 2004 15:22:40 +0000 Subject: 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. --- cpputools/source/unoexe/unoexe.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'cpputools') 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 #include +#include "sal/main.h" #include #include #include @@ -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; } -} -- cgit