summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-11 17:25:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-11 17:25:42 +0200
commita88cfade0878754f98ffe1ed0dbfc7ea17528166 (patch)
treebba05f9a89393e073984374eecebeff446fce959
parent09f6bfadad0be9ebe24abcde1876a0b2d0c9fd97 (diff)
int -> bool
Change-Id: I8e8bedcc510a895cda90c9979bf75afca0ea9071
-rw-r--r--cppu/source/AffineBridge/AffineBridge.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cppu/source/AffineBridge/AffineBridge.cxx b/cppu/source/AffineBridge/AffineBridge.cxx
index 2fa80655ebcd..75d406f0e7f7 100644
--- a/cppu/source/AffineBridge/AffineBridge.cxx
+++ b/cppu/source/AffineBridge/AffineBridge.cxx
@@ -80,7 +80,7 @@ public:
virtual bool v_isValid(rtl::OUString * pReason) override;
void innerDispatch();
- void outerDispatch(int loop);
+ void outerDispatch(bool loop);
};
class InnerThread : public osl::Thread
@@ -129,7 +129,7 @@ void OuterThread::run()
osl::MutexGuard guard(m_pAffineBridge->m_outerMutex);
m_pAffineBridge->m_outerThreadId = getIdentifier();
- m_pAffineBridge->outerDispatch(0);
+ m_pAffineBridge->outerDispatch(false);
m_pAffineBridge->m_outerThreadId = 0;
m_pAffineBridge->m_pOuterThread = nullptr;
@@ -172,7 +172,7 @@ AffineBridge::~AffineBridge()
}
-void AffineBridge::outerDispatch(int loop)
+void AffineBridge::outerDispatch(bool loop)
{
OSL_ASSERT(m_outerThreadId == osl::Thread::getCurrentIdentifier());
OSL_ASSERT(m_innerThreadId != m_outerThreadId);
@@ -267,7 +267,7 @@ void AffineBridge::v_callInto_v(uno_EnvCallee * pCallee, va_list * pParam)
m_pParam = pParam;
m_innerCondition.set();
- outerDispatch(1);
+ outerDispatch(true);
if (bResetId)
m_outerThreadId = 0;