[Libreoffice-commits] .: writerfilter/unocomponent

David Tardon dtardon at kemper.freedesktop.org
Fri Apr 15 08:12:15 PDT 2011


 writerfilter/unocomponent/component.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit de9e9560c38c9a5bdd39b1e68a9c0c4e12518998
Author: David Tardon <dtardon at redhat.com>
Date:   Fri Apr 15 17:11:53 2011 +0200

    component_getFactory must be SAL_DLLPUBLIC_EXPORT

diff --git a/writerfilter/unocomponent/component.cxx b/writerfilter/unocomponent/component.cxx
index 3a73124..6ac1fc7 100644
--- a/writerfilter/unocomponent/component.cxx
+++ b/writerfilter/unocomponent/component.cxx
@@ -57,12 +57,12 @@ static struct ::cppu::ImplementationEntry s_component_entries [] =
 };
 
 
-    void SAL_CALL component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
+SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
 {
     *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
 }
 
-void * SAL_CALL component_getFactory(sal_Char const * implName, ::com::sun::star::lang::XMultiServiceFactory * xMgr, ::com::sun::star::registry::XRegistryKey * xRegistry )
+SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(sal_Char const * implName, ::com::sun::star::lang::XMultiServiceFactory * xMgr, ::com::sun::star::registry::XRegistryKey * xRegistry )
 {
     fprintf(stderr, "Loading service: %s: ", implName);
 


More information about the Libreoffice-commits mailing list