summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/unx/generic/plugadapt/salplug.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/unx/generic/plugadapt/salplug.cxx b/vcl/unx/generic/plugadapt/salplug.cxx
index 1d9a5baa540e..eb9e90cd1b5b 100644
--- a/vcl/unx/generic/plugadapt/salplug.cxx
+++ b/vcl/unx/generic/plugadapt/salplug.cxx
@@ -99,8 +99,10 @@ static SalInstance* tryInstance( const OUString& rModuleBase, bool bForce = fals
/*
* #i109007# KDE3 seems to have the same problem; an atexit cleanup
* handler, which cannot be resolved anymore if the plugin is already unloaded.
+ * Same applies for kde4.
*/
- else if( rModuleBase.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("kde")) )
+ else if( rModuleBase.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("kde")) ||
+ rModuleBase.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("kde4")) )
{
pCloseModule = NULL;
}