summaryrefslogtreecommitdiff
path: root/stoc/test/javavm/jvm_interaction
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-01-13 18:03:25 +0000
committerKurt Zenker <kz@openoffice.org>2005-01-13 18:03:25 +0000
commit1df4cfc0aae0b4434696bf6cbeb7c4d5e70621ae (patch)
treeba40b8085efd05982fed61913fceafef9e450baf /stoc/test/javavm/jvm_interaction
parentd9bacd08c92ed1295c083be0788f943c42938bdb (diff)
INTEGRATION: CWS cd02 (1.3.120); FILE MERGED
2004/11/15 17:29:04 dbo 1.3.120.1: #i24030# general cleanup to make buildable again
Diffstat (limited to 'stoc/test/javavm/jvm_interaction')
-rw-r--r--stoc/test/javavm/jvm_interaction/interactionhandler.cxx17
1 files changed, 5 insertions, 12 deletions
diff --git a/stoc/test/javavm/jvm_interaction/interactionhandler.cxx b/stoc/test/javavm/jvm_interaction/interactionhandler.cxx
index c7be712fedc0..fbd115c985bb 100644
--- a/stoc/test/javavm/jvm_interaction/interactionhandler.cxx
+++ b/stoc/test/javavm/jvm_interaction/interactionhandler.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: interactionhandler.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2003-04-23 16:15:48 $
+ * last change: $Author: kz $ $Date: 2005-01-13 19:03:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -64,10 +64,9 @@
//#include <iostream>
#include <stdio.h>
+#include <sal/main.h>
#include <rtl/process.h>
-#include <vos/dynload.hxx>
-
#include <cppuhelper/servicefactory.hxx>
#include <cppuhelper/weak.hxx>
#include <cppuhelper/bootstrap.hxx>
@@ -95,7 +94,6 @@
using namespace std;
using namespace rtl;
using namespace cppu;
-using namespace vos;
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
//using namespace com::sun::star::reflection;
@@ -145,7 +143,7 @@ void SAL_CALL InteractionHandler::handle( const Reference< XInteractionRequest >
if(abort.is())
break;
}
- for ( i= 0; i < seqCont.getLength(); i++)
+ for (sal_Int32 i= 0; i < seqCont.getLength(); i++)
{
retry= Reference<XInteractionRetry>::query( seqCont[i]);
if(retry.is())
@@ -218,12 +216,7 @@ sal_Bool test1(const Reference< XMultiServiceFactory > & xMgr )
return retVal;
}
-extern
-#if (defined UNX) || (defined OS2)
-int main( int argc, char * argv[] )
-#else
-int __cdecl main( int argc, char * argv[] )
-#endif
+SAL_IMPLEMENT_MAIN()
{
Reference<XSimpleRegistry> xreg= createSimpleRegistry();
xreg->open( OUString( RTL_CONSTASCII_USTRINGPARAM("applicat.rdb")),