vcl108: #i107878# reenable accidentally lost environment variable SAL_USE_VCLPLUGIN

This commit is contained in:
Philipp Lohmann [pl] 2010-01-05 11:18:23 +01:00
parent 7ef41abc06
commit 8a82c9892f

View file

@ -219,8 +219,10 @@ SalInstance *CreateSalInstance()
if( !(pUsePlugin && *pUsePlugin) )
pInst = check_headless_plugin();
else
pInst = tryInstance( OUString::createFromAscii( pUsePlugin ) );
if( ! pInst && !(pUsePlugin && *pUsePlugin) )
if( ! pInst )
pInst = autodetect_plugin();
// fallback to gen