remove unused hMainThread_

Change-Id: Iea56d7f1b4d3133067e321a033df81378be2817a
This commit is contained in:
Caolán McNamara 2012-09-12 12:31:00 +01:00
parent a9b7ceea2b
commit dbb77c1448
2 changed files with 0 additions and 5 deletions

View file

@ -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();

View file

@ -229,7 +229,6 @@ static const char* XRequest[] = {
// -=-= SalData =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include <pthread.h>
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" ) );
}