always use svp plugin with --headless

This commit is contained in:
David Tardon 2011-05-03 09:27:06 +02:00
parent c4da751879
commit 7934342133

View file

@ -230,9 +230,9 @@ SalInstance *CreateSalInstance()
static const char* pUsePlugin = getenv( "SAL_USE_VCLPLUGIN" );
if( !(pUsePlugin && *pUsePlugin) )
pInst = check_headless_plugin();
else
pInst = check_headless_plugin();
if( !pInst && pUsePlugin && *pUsePlugin )
pInst = tryInstance( OUString::createFromAscii( pUsePlugin ) );
if( ! pInst )