diff options
author | Noel Power <npower@openoffice.org> | 2009-10-07 14:45:16 +0000 |
---|---|---|
committer | Noel Power <npower@openoffice.org> | 2009-10-07 14:45:16 +0000 |
commit | 8dc5bfac10ba6616dc1269ae4102c3bb4ef21d46 (patch) | |
tree | ca8cc61c21d0d809093c57cef311d3879fa18b7b /vbahelper/source/msforms | |
parent | f212afb71b988cb4ca694aac303f6e4edf5ee1a6 (diff) |
warning as error fixes
Diffstat (limited to 'vbahelper/source/msforms')
-rw-r--r-- | vbahelper/source/msforms/makefile.mk | 3 | ||||
-rw-r--r-- | vbahelper/source/msforms/service.cxx | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/vbahelper/source/msforms/makefile.mk b/vbahelper/source/msforms/makefile.mk index ad5e7b4685b3..1d550c8409c2 100644 --- a/vbahelper/source/msforms/makefile.mk +++ b/vbahelper/source/msforms/makefile.mk @@ -33,7 +33,8 @@ PRJ=..$/.. PRJNAME=vbahelper TARGET=msforms -ENABLE_EXCEPTIONS := TRUE +ENABLE_EXCEPTIONS=TRUE +VISIBILITY_HIDDEN=TRUE # --- Settings ----------------------------------------------------- diff --git a/vbahelper/source/msforms/service.cxx b/vbahelper/source/msforms/service.cxx index 20a5a727515a..395256bcf61a 100644 --- a/vbahelper/source/msforms/service.cxx +++ b/vbahelper/source/msforms/service.cxx @@ -53,14 +53,14 @@ extern sdecl::ServiceDecl const serviceDecl; extern "C" { - void SAL_CALL component_getImplementationEnvironment( + SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) { OSL_TRACE("In component_getImplementationEnv"); *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } - sal_Bool SAL_CALL component_writeInfo( + SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo( lang::XMultiServiceFactory * pServiceManager, registry::XRegistryKey * pRegistryKey ) { OSL_TRACE("In component_writeInfo"); @@ -70,7 +70,7 @@ extern "C" controlprovider::serviceDecl, userform::serviceDecl ); } - void * SAL_CALL component_getFactory( + SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, lang::XMultiServiceFactory * pServiceManager, registry::XRegistryKey * pRegistryKey ) { |