From 6c8f48f2d13e98ca2f844c21e31c5717a3a60c6e Mon Sep 17 00:00:00 2001 From: Ocke Janssen Date: Wed, 17 Mar 2010 12:53:49 +0000 Subject: add SAL_DLLPUBLIC_EXPORT --- connectivity/source/drivers/macab/MacabConnection.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'connectivity/source/drivers/macab/MacabConnection.cxx') diff --git a/connectivity/source/drivers/macab/MacabConnection.cxx b/connectivity/source/drivers/macab/MacabConnection.cxx index 58cf82f272fc..31b2bbfd6b1e 100755 --- a/connectivity/source/drivers/macab/MacabConnection.cxx +++ b/connectivity/source/drivers/macab/MacabConnection.cxx @@ -314,10 +314,11 @@ MacabAddressBook* MacabConnection::getAddressBook() const return m_pAddressBook; } // ----------------------------------------------------------------------------- -extern "C" void* SAL_CALL createMacabConnection( void* _pDriver ) +extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL createMacabConnection( void* _pDriver ) { MacabConnection* pConnection = new MacabConnection( static_cast< MacabDriver* >( _pDriver ) ); // by definition, the pointer crossing library boundaries as void ptr is acquired once pConnection->acquire(); return pConnection; } + -- cgit