diff options
-rw-r--r-- | automation/source/server/server.cxx | 8 | ||||
-rw-r--r-- | automation/source/server/statemnt.hxx | 3 |
2 files changed, 6 insertions, 5 deletions
diff --git a/automation/source/server/server.cxx b/automation/source/server/server.cxx index cfc6cf821727..ee6cfadc54ca 100644 --- a/automation/source/server/server.cxx +++ b/automation/source/server/server.cxx @@ -961,7 +961,7 @@ RemoteControl::~RemoteControl() static ::osl::Mutex aMutex; static RemoteControl* pRemoteControl = 0; -extern "C" void CreateRemoteControl() +extern "C" AUTOMATION_DLLPUBLIC void CreateRemoteControl() { if ( !pRemoteControl ) { @@ -971,19 +971,19 @@ extern "C" void CreateRemoteControl() } } -extern "C" void DestroyRemoteControl() +extern "C" AUTOMATION_DLLPUBLIC void DestroyRemoteControl() { ::osl::MutexGuard aGuard( aMutex ); delete pRemoteControl; pRemoteControl = 0; } -extern "C" void CreateEventLogger() +extern "C" AUTOMATION_DLLPUBLIC void CreateEventLogger() { MacroRecorder::GetMacroRecorder()->SetActionLog(); } -extern "C" void DestroyEventLogger() +extern "C" AUTOMATION_DLLPUBLIC void DestroyEventLogger() { MacroRecorder::GetMacroRecorder()->SetActionLog( sal_False ); // Will delete MacroRecorder if necessary } diff --git a/automation/source/server/statemnt.hxx b/automation/source/server/statemnt.hxx index d14820333b3a..25a22547336b 100644 --- a/automation/source/server/statemnt.hxx +++ b/automation/source/server/statemnt.hxx @@ -51,6 +51,7 @@ #include <vcl/event.hxx> #include <com/sun/star/beans/PropertyValue.hpp> #include <automation/commtypes.hxx> +#include <automation/automationdllapi.h> class Window; class SystemWindow; @@ -78,7 +79,7 @@ class EditWindow; extern "C" { #endif - void SAL_CALL osl_TestToolDebugPrint( const sal_Char *pString ); + AUTOMATION_DLLPUBLIC void SAL_CALL osl_TestToolDebugPrint( const sal_Char *pString ); #ifdef __cplusplus } #endif |