From 57058b4d00e293186b5af9aa43634c0f83be68dd Mon Sep 17 00:00:00 2001 From: Kai Sommerfeld Date: Thu, 5 Apr 2001 08:52:01 +0000 Subject: #85714# - Prefixed all component implementation names with "com.sun.star.comp" (UDK naming recommandation - required for automatic testing). --- ucb/source/core/ucbserv.cxx | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) (limited to 'ucb/source/core/ucbserv.cxx') diff --git a/ucb/source/core/ucbserv.cxx b/ucb/source/core/ucbserv.cxx index 10eab23d835a..0d6acf56b2f9 100644 --- a/ucb/source/core/ucbserv.cxx +++ b/ucb/source/core/ucbserv.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ucbserv.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: sb $ $Date: 2001-02-06 11:07:19 $ + * last change: $Author: kso $ $Date: 2001-04-05 09:49:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -204,6 +204,11 @@ extern "C" void * SAL_CALL component_getFactory( { xFactory = UniversalContentBroker::createServiceFactory( xSMgr ); } + else if ( rtl_str_compare( pImplName, "UniversalContentBroker" ) == 0 ) + { + // Backward compatibility... :-/ + xFactory = UniversalContentBroker::createServiceFactory( xSMgr ); + } ////////////////////////////////////////////////////////////////////// // UCB Store. @@ -214,6 +219,11 @@ extern "C" void * SAL_CALL component_getFactory( { xFactory = UcbStore::createServiceFactory( xSMgr ); } + else if ( rtl_str_compare( pImplName, "UcbStore" ) == 0 ) + { + // Backward compatibility... :-/ + xFactory = UcbStore::createServiceFactory( xSMgr ); + } ////////////////////////////////////////////////////////////////////// // UCB PropertiesManager. @@ -224,6 +234,11 @@ extern "C" void * SAL_CALL component_getFactory( { xFactory = UcbPropertiesManager::createServiceFactory( xSMgr ); } + else if ( rtl_str_compare( pImplName, "UcbPropertiesManager" ) == 0 ) + { + // Backward compatibility... :-/ + xFactory = UcbPropertiesManager::createServiceFactory( xSMgr ); + } ////////////////////////////////////////////////////////////////////// // UCP Proxy Factory. @@ -235,6 +250,13 @@ extern "C" void * SAL_CALL component_getFactory( xFactory = UcbContentProviderProxyFactory::createServiceFactory( xSMgr ); } + else if ( rtl_str_compare( pImplName, "UcbContentProviderProxyFactory" ) + == 0 ) + { + // Backward compatibility... :-/ + xFactory + = UcbContentProviderProxyFactory::createServiceFactory( xSMgr ); + } ////////////////////////////////////////////////////////////////////// // Remote Content Broker. @@ -246,6 +268,12 @@ extern "C" void * SAL_CALL component_getFactory( { xFactory = RemoteContentBroker::createServiceFactory( xSMgr ); } + else if ( rtl_str_compare( pImplName, "ucb_core::RemoteContentBroker" ) + == 0 ) + { + // Backward compatibility... :-/ + xFactory = RemoteContentBroker::createServiceFactory( xSMgr ); + } ////////////////////////////////////////////////////////////////////// -- cgit v1.2.3