summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-01-05 11:18:23 +0100
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-01-05 11:18:23 +0100
commit8a82c9892f39d69d77937f4691c90a079a059bdf (patch)
treee5c1e5786003fd58f3b8b1a85cb68dd414e20028 /vcl/unx
parent7ef41abc062018776247294bde7e56e2b46489bd (diff)
vcl108: #i107878# reenable accidentally lost environment variable SAL_USE_VCLPLUGIN
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/source/plugadapt/salplug.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/unx/source/plugadapt/salplug.cxx b/vcl/unx/source/plugadapt/salplug.cxx
index f1c63b8abee7..08820b2cb7f9 100644
--- a/vcl/unx/source/plugadapt/salplug.cxx
+++ b/vcl/unx/source/plugadapt/salplug.cxx
@@ -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