Kaydet (Commit) a88cfade authored tarafından Stephan Bergmann's avatar Stephan Bergmann

int -> bool

Change-Id: I8e8bedcc510a895cda90c9979bf75afca0ea9071
üst 09f6bfad
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment