The "generic" thing is X11-specific

This commit is contained in:
Tor Lillqvist
2011-12-15 08:18:28 +02:00
parent 0f44079ce2
commit 38b097840f

View File

@@ -52,12 +52,12 @@ static oslModule pCloseModule = NULL;
static SalInstance* tryInstance( const OUString& rModuleBase )
{
SalInstance* pInst = NULL;
#ifndef ANDROID
// Disable gtk3 plugin load except in experimental mode for now.
if( rModuleBase.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "gtk3" ) ) &&
!SalGenericSystem::enableExperimentalFeatures() )
return NULL;
#endif
OUStringBuffer aModName( 128 );
aModName.appendAscii( SAL_DLLPREFIX"vclplug_" );
aModName.append( rModuleBase );