summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/prov.cxx
diff options
context:
space:
mode:
authorKai Sommerfeld <kso@openoffice.org>2001-04-05 08:52:01 +0000
committerKai Sommerfeld <kso@openoffice.org>2001-04-05 08:52:01 +0000
commit57058b4d00e293186b5af9aa43634c0f83be68dd (patch)
treed8d646fca6a172e41c1da317e8d1431dec13221c /ucb/source/ucp/file/prov.cxx
parentb3e0d1c74f8c4d2a271ad597344624f657d533e0 (diff)
#85714# - Prefixed all component implementation names with "com.sun.star.comp"
(UDK naming recommandation - required for automatic testing).
Diffstat (limited to 'ucb/source/ucp/file/prov.cxx')
-rw-r--r--ucb/source/ucp/file/prov.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx
index 138ded9b5de2..f2feb6fa381a 100644
--- a/ucb/source/ucp/file/prov.cxx
+++ b/ucb/source/ucp/file/prov.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: prov.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: hro $ $Date: 2001-03-15 12:54:03 $
+ * last change: $Author: kso $ $Date: 2001-04-05 09:49:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -185,6 +185,11 @@ extern "C" void * SAL_CALL component_getFactory(
{
xFactory = FileProvider::createServiceFactory( xSMgr );
}
+ else if ( rtl_str_compare( pImplName, "FileProvider" ) == 0 )
+ {
+ // Backward compatibility... :-/
+ xFactory = FileProvider::createServiceFactory( xSMgr );
+ }
//////////////////////////////////////////////////////////////////////
@@ -498,11 +503,7 @@ FileProvider::createServiceFactory(
fileaccess::shell::getSupportedServiceNames_static() ) );
}
-#if SUPD > 583
uno::Reference< uno::XInterface > SAL_CALL
-#else
-uno::Reference< uno::XInterface >
-#endif
FileProvider::CreateInstance(
const uno::Reference< lang::XMultiServiceFactory >& xMultiServiceFactory )
{