diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2001-09-27 18:42:18 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2001-09-27 18:42:18 +0000 |
commit | 18d91cef0a3b33f7338de2e127d6a187ad7cab2f (patch) | |
tree | 0af97f1add9d731874812aa67a9681e582b706d5 /vcl | |
parent | a3dda29cb537a7f7deed7c45b9e401c5d6676880 (diff) |
#65293#: adapted to new bootstrap
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/workben/svdem.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/workben/svdem.cxx b/vcl/workben/svdem.cxx index 40fec7396734..9ec8341828c4 100644 --- a/vcl/workben/svdem.cxx +++ b/vcl/workben/svdem.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdem.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: ssa $ $Date: 2001-08-10 11:20:10 $ + * last change: $Author: hr $ $Date: 2001-09-27 19:42:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -67,10 +67,10 @@ #include <wrkwin.hxx> #include <msgbox.hxx> -#ifdef REMOTE_APPSERVER #include <comphelper/processfactory.hxx> #include <cppuhelper/servicefactory.hxx> #include <cppuhelper/bootstrap.hxx> +#ifdef REMOTE_APPSERVER #include "officeacceptthread.hxx" #endif @@ -87,12 +87,12 @@ SAL_IMPLEMENT_MAIN() { Reference< XMultiServiceFactory > xMS; -#ifdef REMOTE_APPSERVER // for this to work make sure an <appname>.ini file is available, you can just copy soffice.ini Reference< XComponentContext > xComponentContext = ::cppu::defaultBootstrap_InitialComponentContext(); xMS = Reference< XMultiServiceFactory > (xComponentContext->getServiceManager(), UNO_QUERY); ::comphelper::setProcessServiceFactory( xMS ); +#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() ); |