diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-07 18:24:18 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-07 18:24:18 +0100 |
commit | 68f2d13c9f1698eb45c4a1b341d1cac7c7526929 (patch) | |
tree | 7410ec5fba02e438b18e68ca5aa78f2fa3f26ef0 /vcl/unx/source/app/sm.cxx | |
parent | 39ad2ff73a9700be25064169bc8bd85001ab959c (diff) |
removetooltypes: #i112600# Adapt Unix part for removed tool types
Diffstat (limited to 'vcl/unx/source/app/sm.cxx')
-rw-r--r-- | vcl/unx/source/app/sm.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/source/app/sm.cxx b/vcl/unx/source/app/sm.cxx index 959d6af5912d..21d9b8df60f3 100644 --- a/vcl/unx/source/app/sm.cxx +++ b/vcl/unx/source/app/sm.cxx @@ -149,7 +149,7 @@ extern "C" void SAL_CALL ICEConnectionWorker( void* ); class ICEConnectionObserver { friend void SAL_CALL ICEConnectionWorker(void*); - static BOOL bIsWatching; + static sal_Bool bIsWatching; static void ICEWatchProc( IceConn connection, IcePointer client_data, Bool opening, IcePointer* watch_data ); @@ -175,7 +175,7 @@ public: SmcConn SessionManagerClient::aSmcConnection = NULL; ByteString SessionManagerClient::aClientID; -BOOL ICEConnectionObserver::bIsWatching = FALSE; +sal_Bool ICEConnectionObserver::bIsWatching = sal_False; struct pollfd* ICEConnectionObserver::pFilehandles = NULL; IceConn* ICEConnectionObserver::pConnections = NULL; int ICEConnectionObserver::nConnections = 0; @@ -606,7 +606,7 @@ void ICEConnectionObserver::activate() { nWakeupFiles[0] = nWakeupFiles[1] = 0; ICEMutex = osl_createMutex(); - bIsWatching = TRUE; + bIsWatching = sal_True; #ifdef USE_SM_EXTENSION /* * Default handlers call exit, we don't care that strongly if something @@ -624,7 +624,7 @@ void ICEConnectionObserver::deactivate() if( bIsWatching ) { lock(); - bIsWatching = FALSE; + bIsWatching = sal_False; #ifdef USE_SM_EXTENSION IceRemoveConnectionWatch( ICEWatchProc, NULL ); IceSetErrorHandler( origErrorHandler ); |