diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/osl/socket/osl_StreamSocket.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/qa/osl/socket/osl_StreamSocket.cxx b/sal/qa/osl/socket/osl_StreamSocket.cxx index d99753cf6763..05906f0f239b 100644 --- a/sal/qa/osl/socket/osl_StreamSocket.cxx +++ b/sal/qa/osl/socket/osl_StreamSocket.cxx @@ -970,9 +970,9 @@ namespace osl_StreamSocket } public: - sal_Int32 getCount() {return m_nReadCount;} - bool isOk() {return m_nReadCount == 0 ? false : true;} - bool getFailed() {return m_bOk == false ? true : false;} + sal_Int32 getCount() { return m_nReadCount; } + bool isOk() { return m_nReadCount != 0; } + bool getFailed() { return m_bOk == false; } ReadSocket2Thread(osl::Condition &_aCondition) :m_aCondition(_aCondition), |