Kaydet (Commit) dbb77c14 authored tarafından Caolán McNamara's avatar Caolán McNamara

remove unused hMainThread_

Change-Id: Iea56d7f1b4d3133067e321a033df81378be2817a
üst a9b7ceea
......@@ -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();
......
......@@ -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" ) );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment