diff --git a/vcl/inc/unx/saldata.hxx b/vcl/inc/unx/saldata.hxx index 37482317fdea..6b1ec9941b06 100644 --- a/vcl/inc/unx/saldata.hxx +++ b/vcl/inc/unx/saldata.hxx @@ -71,7 +71,6 @@ class VCLPLUG_GEN_PUBLIC X11SalData : public SalGenericData protected: SalXLib *pXLib_; - pthread_t hMainThread_; public: X11SalData( SalGenericDataType t, SalInstance *pInstance ); @@ -87,7 +86,6 @@ public: void DeleteDisplay(); // for shutdown inline SalXLib* GetLib() const { return pXLib_; } - inline pthread_t GetMainThread() const { return hMainThread_; } void StartTimer( sal_uLong nMS ); inline void StopTimer(); diff --git a/vcl/unx/generic/app/saldata.cxx b/vcl/unx/generic/app/saldata.cxx index c0fcf8768d4d..1fb6a7a8f980 100644 --- a/vcl/unx/generic/app/saldata.cxx +++ b/vcl/unx/generic/app/saldata.cxx @@ -229,7 +229,6 @@ static const char* XRequest[] = { // -=-= SalData =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -#include X11SalData::X11SalData( SalGenericDataType t, SalInstance *pInstance ) : SalGenericData( t, pInstance ) @@ -237,8 +236,6 @@ X11SalData::X11SalData( SalGenericDataType t, SalInstance *pInstance ) pXLib_ = NULL; m_pPlugin = NULL; - hMainThread_ = pthread_self(); - m_aOrigXIOErrorHandler = XSetIOErrorHandler ( (XIOErrorHandler)XIOErrorHdl ); PushXErrorLevel( !!getenv( "SAL_IGNOREXERRORS" ) ); }