summaryrefslogtreecommitdiff
path: root/vcl/workben/svdem.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2003-11-05 11:39:54 +0000
committerOliver Bolte <obo@openoffice.org>2003-11-05 11:39:54 +0000
commit9a97a38a14e52f70145092bfc05f800eb3d05f55 (patch)
tree55588dda1f2fc693504d9d16eb6d1b9902412eae /vcl/workben/svdem.cxx
parentc3663a687ccc9365b2b4eb4a3950b8d94c2d6ea7 (diff)
start up problems of svdem.exe fixed
Diffstat (limited to 'vcl/workben/svdem.cxx')
-rw-r--r--vcl/workben/svdem.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/vcl/workben/svdem.cxx b/vcl/workben/svdem.cxx
index 4e5584dc1cde..ba733b6c1182 100644
--- a/vcl/workben/svdem.cxx
+++ b/vcl/workben/svdem.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdem.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: hr $ $Date: 2003-03-27 17:59:30 $
+ * last change: $Author: obo $ $Date: 2003-11-05 12:39:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -89,8 +89,9 @@ SAL_IMPLEMENT_MAIN()
// 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 );
+ xMS = cppu::createRegistryServiceFactory(
+ 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