summaryrefslogtreecommitdiff
path: root/extensions/source/plugin/unx/mediator.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-30 11:46:15 +0200
committerNoel Grandin <noel@peralex.com>2014-05-02 08:49:22 +0200
commit7ae4102f171c5f0d452fa78c5c17722bc9649fc5 (patch)
tree40ff03aeaabe4adfdd90bdb82cb6ef6b80381795 /extensions/source/plugin/unx/mediator.cxx
parent7d2cf383667106efe3e2ea6099fe52206b685c5d (diff)
extensions: sal_Bool->bool
Change-Id: I1730f99c08690138e9aa7aba54304fd7bc51491d
Diffstat (limited to 'extensions/source/plugin/unx/mediator.cxx')
-rw-r--r--extensions/source/plugin/unx/mediator.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/source/plugin/unx/mediator.cxx b/extensions/source/plugin/unx/mediator.cxx
index 347f5e2a94d0..824880039e31 100644
--- a/extensions/source/plugin/unx/mediator.cxx
+++ b/extensions/source/plugin/unx/mediator.cxx
@@ -106,15 +106,15 @@ sal_uLong Mediator::SendMessage( sal_uLong nBytes, const char* pBytes, sal_uLong
return nMessageID;
}
-sal_Bool Mediator::WaitForMessage( sal_uLong nTimeOut )
+bool Mediator::WaitForMessage( sal_uLong nTimeOut )
{
if( ! m_pListener )
- return sal_False;
+ return false;
size_t nItems = m_aMessageQueue.size();
if( ! nTimeOut && nItems > 0 )
- return sal_True;
+ return true;
TimeValue aValue;
aValue.Seconds = nTimeOut/1000;
@@ -125,9 +125,9 @@ sal_Bool Mediator::WaitForMessage( sal_uLong nTimeOut )
m_aNewMessageCdtn.wait( & aValue );
m_aNewMessageCdtn.reset();
if( nTimeOut && m_aMessageQueue.size() == nItems )
- return sal_False;
+ return false;
}
- return sal_True;
+ return true;
}
MediatorMessage* Mediator::WaitForAnswer( sal_uLong nMessageID )
@@ -154,7 +154,7 @@ MediatorMessage* Mediator::WaitForAnswer( sal_uLong nMessageID )
return NULL;
}
-MediatorMessage* Mediator::GetNextMessage( sal_Bool bWait )
+MediatorMessage* Mediator::GetNextMessage( bool bWait )
{
while( m_pListener )
{