summaryrefslogtreecommitdiff
path: root/vcl/unx/source/plugadapt/salplug.cxx
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2010-01-05 17:11:23 +0000
committerPhilipp Lohmann <pl@openoffice.org>2010-01-05 17:11:23 +0000
commitf8a276a66211d0fe08e1c9ad5204d5fe0a0fc038 (patch)
tree67cb36fd4adc0cfbd4fd47ea3168c90072da63fc /vcl/unx/source/plugadapt/salplug.cxx
parent8765a3bf9f2926a50d0f644e4263782269abe023 (diff)
#i108068# always release solar mutex before calling into UNO
Diffstat (limited to 'vcl/unx/source/plugadapt/salplug.cxx')
-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