diff options
author | Sander Vesik <svesik@openoffice.org> | 2004-04-21 11:49:50 +0000 |
---|---|---|
committer | Sander Vesik <svesik@openoffice.org> | 2004-04-21 11:49:50 +0000 |
commit | 9a34e7131592dcfe5f4ac63576b53ff7c841a4f0 (patch) | |
tree | 3dc2ef966b600015387932ef6e20e3f1d56f2bf0 /sal/inc | |
parent | f438f743949757c3c317d000f17701e0614fda5f (diff) |
INTEGRATION: CWS ooo20040329 (1.6.168); FILE MERGED
2004/03/17 12:28:31 waratah 1.6.168.1: #i1858# break up an assignment in an if statement into two statements to remove warning from -Wall
Diffstat (limited to 'sal/inc')
-rw-r--r-- | sal/inc/osl/thread.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/inc/osl/thread.hxx b/sal/inc/osl/thread.hxx index b38dc685ef7b..973333a0c690 100644 --- a/sal/inc/osl/thread.hxx +++ b/sal/inc/osl/thread.hxx @@ -2,9 +2,9 @@ * * $RCSfile: thread.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2003-03-26 16:45:38 $ + * last change: $Author: svesik $ $Date: 2004-04-21 12:49:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -116,8 +116,8 @@ public: if (m_hThread) return sal_False; - if (m_hThread= osl_createSuspendedThread( threadFunc, - (void*)this)) + m_hThread = osl_createSuspendedThread( threadFunc, (void*)this); + if ( m_hThread ) osl_resumeThread(m_hThread); return m_hThread != 0; |