[Libreoffice-commits] core.git: cppu/source
Stephan Bergmann
sbergman at redhat.com
Mon Jul 11 15:26:06 UTC 2016
cppu/source/AffineBridge/AffineBridge.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit a88cfade0878754f98ffe1ed0dbfc7ea17528166
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jul 11 17:25:42 2016 +0200
int -> bool
Change-Id: I8e8bedcc510a895cda90c9979bf75afca0ea9071
diff --git a/cppu/source/AffineBridge/AffineBridge.cxx b/cppu/source/AffineBridge/AffineBridge.cxx
index 2fa8065..75d406f 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;
More information about the Libreoffice-commits
mailing list