summaryrefslogtreecommitdiff
path: root/sccomp
diff options
context:
space:
mode:
Diffstat (limited to 'sccomp')
-rw-r--r--sccomp/source/solver/makefile.mk1
-rw-r--r--sccomp/source/solver/solver.cxx6
2 files changed, 4 insertions, 3 deletions
diff --git a/sccomp/source/solver/makefile.mk b/sccomp/source/solver/makefile.mk
index e4a215bc1de2..72cdad75d317 100644
--- a/sccomp/source/solver/makefile.mk
+++ b/sccomp/source/solver/makefile.mk
@@ -34,6 +34,7 @@ PRJNAME=sccomp
TARGET=solver
ENABLE_EXCEPTIONS=TRUE
+VISIBILITY_HIDDEN=TRUE
USE_DEFFILE=TRUE
LIBTARGET=NO
diff --git a/sccomp/source/solver/solver.cxx b/sccomp/source/solver/solver.cxx
index 9506ebb7926a..96644ae79423 100644
--- a/sccomp/source/solver/solver.cxx
+++ b/sccomp/source/solver/solver.cxx
@@ -647,7 +647,7 @@ uno::Reference<uno::XInterface> SolverComponent_createInstance( const uno::Refer
extern "C"
{
- void SAL_CALL component_getImplementationEnvironment(
+ SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
const sal_Char ** ppEnvTypeName, uno_Environment ** )
{
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
@@ -655,7 +655,7 @@ extern "C"
// -------------------------------------------------------------------------
- sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, void* pRegistryKey )
+ SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, void* pRegistryKey )
{
if (pRegistryKey)
{
@@ -683,7 +683,7 @@ extern "C"
// -------------------------------------------------------------------------
- void* SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
+ SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
{
OUString aImplName( OUString::createFromAscii( pImplName ) );
void* pRet = 0;