[Libreoffice-commits] .: package/source
Tor Lillqvist
tml at kemper.freedesktop.org
Tue Apr 19 02:09:29 PDT 2011
package/source/manifest/UnoRegister.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 084febdf6b78a3dc0e407cea05f3123960bc3a19
Author: Tor Lillqvist <tlillqvist at novell.com>
Date: Tue Apr 19 11:51:49 2011 +0300
Export the two UNO component functions
Fixes zip archive handling which was spectacularly broken in 3.4 beta1
on Windows.
diff --git a/package/source/manifest/UnoRegister.cxx b/package/source/manifest/UnoRegister.cxx
index e8bf0e9..e71f6fe 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;
More information about the Libreoffice-commits
mailing list