summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-04-19 11:51:49 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-04-19 11:51:59 +0300
commitcc38ae1e0b9a382862a07eaaddd75a3b46ee3d33 (patch)
tree349ee3e67ea1c17905d471a26492252429f81690 /package
parentc1bc4d8e22ec78aaf53e7c38d569a0c39b63b62c (diff)
Export the two UNO component funcions
Fizes zip archive handling which was spectacularly broken in 3.4 beta1 on Windows.
Diffstat (limited to 'package')
-rw-r--r--package/source/manifest/UnoRegister.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/source/manifest/UnoRegister.cxx b/package/source/manifest/UnoRegister.cxx
index e8bf0e9604d3..e71f6fe99d6b 100644
--- a/package/source/manifest/UnoRegister.cxx
+++ b/package/source/manifest/UnoRegister.cxx
@@ -48,7 +48,7 @@ using rtl::OUString;
// C functions to implement this as a component
-extern "C" void SAL_CALL component_getImplementationEnvironment(
+extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
{
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
@@ -61,7 +61,7 @@ extern "C" void SAL_CALL component_getImplementationEnvironment(
* @param pRegistryKey registry data key to read and write component persistent data
* @return a component factory (generic uno interface)
*/
-extern "C" void * SAL_CALL component_getFactory(
+extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
{
void * pRet = 0;