Kaydet (Commit) 852c8e53 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

create_SalInstance does not need an oslModule parameter

Change-Id: I658974102f544185bf27f985bc920d8d54b40656
üst 4c6e54a1
......@@ -33,7 +33,7 @@
#include <unistd.h>
extern "C" {
typedef SalInstance*(*salFactoryProc)( oslModule pModule);
typedef SalInstance*(*salFactoryProc)();
}
static oslModule pCloseModule = NULL;
......@@ -63,7 +63,7 @@ static SalInstance* tryInstance( const OUString& rModuleBase, bool bForce = fals
salFactoryProc aProc = (salFactoryProc)osl_getAsciiFunctionSymbol( aMod, "create_SalInstance" );
if( aProc )
{
pInst = aProc( aMod );
pInst = aProc();
SAL_INFO(
"vcl.plugadapt",
"sal plugin " << aModule << " produced instance " << pInst);
......
......@@ -19,7 +19,6 @@
#include <stack>
#include <string.h>
#include <osl/module.h>
#include <osl/process.h>
#include <unx/gtk/gtkdata.hxx>
#include <unx/gtk/gtkinst.hxx>
......@@ -58,7 +57,7 @@ extern "C"
pYieldMutex->ThreadsLeave();
}
VCLPLUG_GTK_PUBLIC SalInstance* create_SalInstance( oslModule )
VCLPLUG_GTK_PUBLIC SalInstance* create_SalInstance()
{
SAL_INFO(
"vcl.gtk",
......
......@@ -35,7 +35,6 @@
#include <osl/thread.h>
#include <osl/process.h>
#include <osl/module.h>
#include <osl/mutex.hxx>
#include "unx/kde/kdedata.hxx"
......@@ -202,7 +201,7 @@ void KDEData::Init()
**********************************************************************/
extern "C" {
VCLPLUG_KDE_PUBLIC SalInstance* create_SalInstance( oslModule )
VCLPLUG_KDE_PUBLIC SalInstance* create_SalInstance()
{
/* #i92121# workaround deadlocks in the X11 implementation
*/
......
......@@ -34,7 +34,7 @@
/// entry point for the KDE4 VCL plugin
extern "C" {
VCLPLUG_KDE4_PUBLIC SalInstance* create_SalInstance( oslModule )
VCLPLUG_KDE4_PUBLIC SalInstance* create_SalInstance()
{
/* #i92121# workaround deadlocks in the X11 implementation
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment