diff options
-rw-r--r-- | vcl/unx/generic/plugadapt/salplug.cxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/vcl/unx/generic/plugadapt/salplug.cxx b/vcl/unx/generic/plugadapt/salplug.cxx index a496b7cbda5d..9e6f47fd6a8e 100644 --- a/vcl/unx/generic/plugadapt/salplug.cxx +++ b/vcl/unx/generic/plugadapt/salplug.cxx @@ -76,6 +76,7 @@ static SalInstance* tryInstance( const OUString& rModuleBase ) { pCloseModule = aMod; +#ifndef ANDROID /* * Recent GTK+ versions load their modules with RTLD_LOCAL, so we can * not access the 'gnome_accessibility_module_shutdown' anymore. @@ -95,7 +96,7 @@ static SalInstance* tryInstance( const OUString& rModuleBase ) { pCloseModule = NULL; } - +#endif GetSalData()->m_pPlugin = aMod; } else @@ -120,6 +121,8 @@ static SalInstance* tryInstance( const OUString& rModuleBase ) return pInst; } +#ifndef ANDROID + static DesktopType get_desktop_environment() { OUStringBuffer aModName( 128 ); @@ -142,6 +145,12 @@ static DesktopType get_desktop_environment() return ret; } +#else + +#define get_desktop_environment() DESKTOP_NONE // For now... + +#endif + static SalInstance* autodetect_plugin() { static const char* pKDEFallbackList[] = |