From 2936256ec75892fbc903e6cd693d478932b6f553 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Thu, 12 Mar 2009 17:29:25 +0000 Subject: CWS-TOOLING: integrate CWS newbaselineunxlngi 2009-02-06 09:05:24 +0100 oj r267441 : move dll.h into the first line 2009-02-05 12:03:43 +0100 oj r267414 : remove inlines 2009-02-05 12:03:12 +0100 oj r267413 : remove inlines 2009-02-05 08:11:58 +0100 oj r267407 : remove dll.pmk 2009-02-05 07:44:34 +0100 oj r267403 : remove dll.pmk 2009-02-02 17:20:34 +0100 vg r267279 : rebased to m41 2009-02-02 12:35:08 +0100 oj r267259 : #i98651# include dll.pmk 2009-01-30 16:03:30 +0100 releng r267208 : #i98603# get rid of warnings 2009-01-29 15:05:55 +0100 releng r267146 : #i98603# revert changes 2009-01-29 15:00:24 +0100 releng r267143 : #i98603# get rid of warnings 2009-01-29 13:02:26 +0100 releng r267119 : #i10000# added missing dependency 2008-12-24 15:49:02 +0100 releng r265797 : #158998# fixes for the new unxlngi baseline --- connectivity/source/drivers/kab/KConnection.cxx | 2 +- connectivity/source/drivers/kab/KDEInit.cxx | 6 +++--- connectivity/source/drivers/kab/KServices.cxx | 6 +++--- connectivity/source/drivers/kab/makefile.mk | 1 + 4 files changed, 8 insertions(+), 7 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/kab/KConnection.cxx b/connectivity/source/drivers/kab/KConnection.cxx index 89e024163f62..1df3315f559d 100644 --- a/connectivity/source/drivers/kab/KConnection.cxx +++ b/connectivity/source/drivers/kab/KConnection.cxx @@ -322,7 +322,7 @@ Reference< XTablesSupplier > SAL_CALL KabConnection::createCatalog() return m_pAddressBook; } // ----------------------------------------------------------------------------- -extern "C" void* SAL_CALL createKabConnection( void* _pDriver ) +extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL createKabConnection( void* _pDriver ) { KabConnection* pConnection = new KabConnection( static_cast< KabDriver* >( _pDriver ) ); // by definition, the pointer crossing library boundaries as void ptr is acquired once diff --git a/connectivity/source/drivers/kab/KDEInit.cxx b/connectivity/source/drivers/kab/KDEInit.cxx index 5903ea0084d3..3e7c69166b1b 100644 --- a/connectivity/source/drivers/kab/KDEInit.cxx +++ b/connectivity/source/drivers/kab/KDEInit.cxx @@ -115,13 +115,13 @@ namespace } // ----------------------------------------------------------------------- -extern "C" void SAL_CALL initKApplication() +extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL initKApplication() { ::connectivity::kab::KDEInit::Init(); } // ----------------------------------------------------------------------- -extern "C" void SAL_CALL shutdownKApplication() +extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL shutdownKApplication() { ::connectivity::kab::KDEInit::Shutdown(); } @@ -143,7 +143,7 @@ extern "C" void SAL_CALL shutdownKApplication() #i60062# / 2006-01-06 / frank.schoenheit@sun.com */ -extern "C" int SAL_CALL matchKDEVersion() +extern "C" SAL_DLLPUBLIC_EXPORT int SAL_CALL matchKDEVersion() { double nMinVersion = normalizeVersion( MIN_KDE_VERSION_MAJOR, MIN_KDE_VERSION_MINOR ); double nCurVersion = normalizeVersion( ::KDE::versionMajor(), ::KDE::versionMinor() ); diff --git a/connectivity/source/drivers/kab/KServices.cxx b/connectivity/source/drivers/kab/KServices.cxx index cc8fb9fe564c..d670ffd8fba2 100644 --- a/connectivity/source/drivers/kab/KServices.cxx +++ b/connectivity/source/drivers/kab/KServices.cxx @@ -117,7 +117,7 @@ struct ProviderRequest //--------------------------------------------------------------------------------------- -extern "C" void SAL_CALL component_getImplementationEnvironment( +extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char **ppEnvTypeName, uno_Environment ** ) @@ -126,7 +126,7 @@ extern "C" void SAL_CALL component_getImplementationEnvironment( } //--------------------------------------------------------------------------------------- -extern "C" sal_Bool SAL_CALL component_writeInfo( +extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo( void*, void* pRegistryKey ) @@ -151,7 +151,7 @@ extern "C" sal_Bool SAL_CALL component_writeInfo( } //--------------------------------------------------------------------------------------- -extern "C" void* SAL_CALL component_getFactory( +extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, void*) diff --git a/connectivity/source/drivers/kab/makefile.mk b/connectivity/source/drivers/kab/makefile.mk index 87228f89ba8c..4ee330345625 100644 --- a/connectivity/source/drivers/kab/makefile.mk +++ b/connectivity/source/drivers/kab/makefile.mk @@ -36,6 +36,7 @@ TARGET=kab TARGET2=$(TARGET)drv ENABLE_EXCEPTIONS=TRUE +VISIBILITY_HIDDEN=TRUE # --- Settings ---------------------------------- -- cgit