always use svp plugin with --headless
This commit is contained in:
parent
c4da751879
commit
7934342133
1 changed files with 3 additions and 3 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue