You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2018/08/16 05:52:54 UTC

svn commit: r1838150 - in /openoffice/trunk/main/automation/source/server: server.cxx statemnt.hxx

Author: damjan
Date: Thu Aug 16 05:52:54 2018
New Revision: 1838150

URL: http://svn.apache.org/viewvc?rev=1838150&view=rev
Log:
Add a few forgotten exports.

Patch by: me


Modified:
    openoffice/trunk/main/automation/source/server/server.cxx
    openoffice/trunk/main/automation/source/server/statemnt.hxx

Modified: openoffice/trunk/main/automation/source/server/server.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/automation/source/server/server.cxx?rev=1838150&r1=1838149&r2=1838150&view=diff
==============================================================================
--- openoffice/trunk/main/automation/source/server/server.cxx (original)
+++ openoffice/trunk/main/automation/source/server/server.cxx Thu Aug 16 05:52:54 2018
@@ -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
 }

Modified: openoffice/trunk/main/automation/source/server/statemnt.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/automation/source/server/statemnt.hxx?rev=1838150&r1=1838149&r2=1838150&view=diff
==============================================================================
--- openoffice/trunk/main/automation/source/server/statemnt.hxx (original)
+++ openoffice/trunk/main/automation/source/server/statemnt.hxx Thu Aug 16 05:52:54 2018
@@ -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