diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 12:43:32 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 12:43:32 +0000 |
commit | 98c8b82caf4f126aec3cec92d1afdeaba5aef032 (patch) | |
tree | a0b7ac4ac5e6d3bf4560a8a10dd904eecdc9986d /vcl/workben | |
parent | 70385d50ad9c79ecb9c1fe83fb372cd91cc409a4 (diff) |
INTEGRATION: CWS vclcleanup01 (1.11.22); FILE MERGED
2003/11/28 07:33:10 mt 1.11.22.1: #i22952# Removed App Server code
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/svdem.cxx | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/vcl/workben/svdem.cxx b/vcl/workben/svdem.cxx index ba733b6c1182..bc9386b0bbe3 100644 --- a/vcl/workben/svdem.cxx +++ b/vcl/workben/svdem.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdem.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: obo $ $Date: 2003-11-05 12:39:54 $ + * last change: $Author: rt $ $Date: 2003-12-01 13:43:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -70,9 +70,6 @@ #include <comphelper/processfactory.hxx> #include <cppuhelper/servicefactory.hxx> #include <cppuhelper/bootstrap.hxx> -#ifdef REMOTE_APPSERVER -#include "officeacceptthread.hxx" -#endif using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; @@ -93,30 +90,11 @@ SAL_IMPLEMENT_MAIN() rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "applicat.rdb" ) ), sal_True ); -#ifdef REMOTE_APPSERVER - // allow remote clients to connect from any host (0) on the given port - ::desktop::OOfficeAcceptorThread *pOfficeAcceptThread = new ::desktop::OOfficeAcceptorThread( xMS, - ::rtl::OUString::createFromAscii("socket,host=0,port=8081;urp;"), false, ::rtl::OUString(), ::rtl::OUString() ); - pOfficeAcceptThread->create(); -#endif InitVCL( xMS ); - GetpApp()->WaitForClientConnect(); // is a no-op in local case ::Main(); DeInitVCL(); -#ifdef REMOTE_APPSERVER - if( pOfficeAcceptThread ) - { - pOfficeAcceptThread->stopAccepting(); -#ifndef LINUX - pOfficeAcceptThread->join(); - delete pOfficeAcceptThread; -#endif - pOfficeAcceptThread = 0; - } -#endif - return 0; } |