summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/file')
-rw-r--r--ucb/source/ucp/file/bc.cxx10
-rw-r--r--ucb/source/ucp/file/prov.cxx13
-rw-r--r--ucb/source/ucp/file/shell.cxx6
-rw-r--r--ucb/source/ucp/file/ucpfile.xml2
4 files changed, 17 insertions, 14 deletions
diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx
index 92eb12402043..104352b59c8e 100644
--- a/ucb/source/ucp/file/bc.cxx
+++ b/ucb/source/ucp/file/bc.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: bc.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: hro $ $Date: 2001-04-03 12:06:25 $
+ * 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
@@ -302,13 +302,15 @@ BaseContent::dispose()
-
+//////////////////////////////////////////////////////////////////////////////////////////
+// XServiceInfo
+//////////////////////////////////////////////////////////////////////////////////////////
rtl::OUString SAL_CALL
BaseContent::getImplementationName()
throw( uno::RuntimeException)
{
- return rtl::OUString::createFromAscii( "FileContent" );
+ return rtl::OUString::createFromAscii( "com.sun.star.comp.ucb.FileContent" );
}
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 )
{
diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx
index 1c1db8e5f522..681b37a5a153 100644
--- a/ucb/source/ucp/file/shell.cxx
+++ b/ucb/source/ucp/file/shell.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: shell.cxx,v $
*
- * $Revision: 1.31 $
+ * $Revision: 1.32 $
*
- * last change: $Author: hro $ $Date: 2001-04-03 12:27:16 $
+ * 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
@@ -2890,7 +2890,7 @@ shell::getScheme( rtl::OUString& Scheme )
rtl::OUString SAL_CALL
shell::getImplementationName_static( void )
{
- return rtl::OUString::createFromAscii( "FileProvider" );
+ return rtl::OUString::createFromAscii( "com.sun.star.comp.ucb.FileProvider" );
}
diff --git a/ucb/source/ucp/file/ucpfile.xml b/ucb/source/ucp/file/ucpfile.xml
index c13fdd15084f..de28ddba9c05 100644
--- a/ucb/source/ucp/file/ucpfile.xml
+++ b/ucb/source/ucp/file/ucpfile.xml
@@ -11,7 +11,7 @@
Andreas Bille
</author>
<name>
- FileProvider
+ com.sun.star.comp.ucb.FileProvider
</name>
<description>
This component implements a Content Provider for the Universal