diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-09-12 12:31:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-12 12:50:08 +0100 |
commit | dbb77c1448e58ee42fade4fa2f4d478a9ac91f1c (patch) | |
tree | 69c45c8e4917b37db4afc44007336b9db8b5df93 /vcl | |
parent | a9b7ceea2bf3d6d38fb6c8a4c1fffb9be4714348 (diff) |
remove unused hMainThread_
Change-Id: Iea56d7f1b4d3133067e321a033df81378be2817a
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/unx/saldata.hxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/app/saldata.cxx | 3 |
2 files changed, 0 insertions, 5 deletions
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 <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" ) ); } |