summaryrefslogtreecommitdiff
path: root/fileaccess/source
diff options
context:
space:
mode:
Diffstat (limited to 'fileaccess/source')
-rw-r--r--fileaccess/source/FileAccess.cxx9
-rwxr-xr-xfileaccess/source/fileacc.component2
2 files changed, 2 insertions, 9 deletions
diff --git a/fileaccess/source/FileAccess.cxx b/fileaccess/source/FileAccess.cxx
index 1644c2724bbe..a19d90938c33 100644
--- a/fileaccess/source/FileAccess.cxx
+++ b/fileaccess/source/FileAccess.cxx
@@ -865,14 +865,7 @@ Sequence< rtl::OUString > FileAccess_getSupportedServiceNames()
extern "C"
{
-//==================================================================================================
-SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
- const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
-{
- *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
-}
-//==================================================================================================
-SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
+SAL_DLLPUBLIC_EXPORT void * SAL_CALL fileacc_component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
{
void * pRet = 0;
diff --git a/fileaccess/source/fileacc.component b/fileaccess/source/fileacc.component
index 3f14d4053216..f580c4b2eee1 100755
--- a/fileaccess/source/fileacc.component
+++ b/fileaccess/source/fileacc.component
@@ -26,7 +26,7 @@
*
**********************************************************************-->
-<component loader="com.sun.star.loader.SharedLibrary"
+<component loader="com.sun.star.loader.SharedLibrary" prefix="fileacc"
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.ucb.SimpleFileAccess">
<service name="com.sun.star.ucb.SimpleFileAccess"/>