diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-03-17 12:08:41 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-03-17 12:08:41 +0000 |
commit | 4686b3b969cd379d9f1aea48e8ea401e18afe423 (patch) | |
tree | 07cd78108b0800481fbd6284f1a084fbc82bee1a /extensions/source/ole/servreg.cxx | |
parent | 754c281471603044605b0927f913678eb17a8e3a (diff) |
INTEGRATION: CWS jl5vba (1.2.244); FILE MERGED
2004/01/19 11:06:44 jl 1.2.244.1: #112439# join cws ab02vba
Diffstat (limited to 'extensions/source/ole/servreg.cxx')
-rw-r--r-- | extensions/source/ole/servreg.cxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/extensions/source/ole/servreg.cxx b/extensions/source/ole/servreg.cxx index 1560fa097e6d..58e13acb372b 100644 --- a/extensions/source/ole/servreg.cxx +++ b/extensions/source/ole/servreg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: servreg.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jl $ $Date: 2001-06-27 10:56:03 $ + * last change: $Author: obo $ $Date: 2004-03-17 13:08:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -160,22 +160,31 @@ extern "C" sal_Bool SAL_CALL component_writeInfo( void * pServiceManager, void { try { + //deprecated Reference<XRegistryKey> xNewKey = reinterpret_cast<XRegistryKey*>( pRegistryKey)->createKey(L"/com.sun.star.comp.ole.OleConverter2/UNO/SERVICES"); xNewKey->createKey(L"com.sun.star.bridge.OleBridgeSupplier2"); + xNewKey->createKey(L"com.sun.star.bridge.oleautomation.BridgeSupplier"); + + //deprecated xNewKey = reinterpret_cast<XRegistryKey*>( pRegistryKey)->createKey(L"/com.sun.star.comp.ole.OleConverterVar1/UNO/SERVICES"); xNewKey->createKey(L"com.sun.star.bridge.OleBridgeSupplierVar1"); + //deprecated xNewKey = reinterpret_cast<XRegistryKey*>( pRegistryKey)->createKey(L"/com.sun.star.comp.ole.OleClient/UNO/SERVICES"); xNewKey->createKey(L"com.sun.star.bridge.OleObjectFactory"); + xNewKey->createKey(L"com.sun.star.bridge.oleautomation.Factory"); + //deprecated xNewKey = reinterpret_cast<XRegistryKey*>( pRegistryKey)->createKey(L"/com.sun.star.comp.ole.OleServer/UNO/SERVICES"); xNewKey->createKey(L"com.sun.star.bridge.OleApplicationRegistration"); + xNewKey->createKey(L"com.sun.star.bridge.oleautomation.ApplicationRegistration"); + return sal_True; } catch (InvalidRegistryException &) |