summaryrefslogtreecommitdiff
path: root/cppu/source/UnsafeBridge
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-10 11:14:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-10 17:11:43 +0100
commit81cb6a7fbc315d3287e7a485b73a1b66dd4478ef (patch)
treed25c4a3e8356f41b6e41b043d7e3511b04635b14 /cppu/source/UnsafeBridge
parent8471b35688d82181e8cd68095fb98d16d3cd7784 (diff)
[API CHANGE] cppu::Enterable::v_isValid returns bool
While strictly speaking an incompatible change, it is extremely unlikely that external code uses cppu::Enterable at all; this should always have been a private URE implementation detail. Change-Id: I2c3fe754fe6268b18ca03532229f3403736f6f6e
Diffstat (limited to 'cppu/source/UnsafeBridge')
-rw-r--r--cppu/source/UnsafeBridge/UnsafeBridge.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppu/source/UnsafeBridge/UnsafeBridge.cxx b/cppu/source/UnsafeBridge/UnsafeBridge.cxx
index 511969116dbb..d653a1a2a9a8 100644
--- a/cppu/source/UnsafeBridge/UnsafeBridge.cxx
+++ b/cppu/source/UnsafeBridge/UnsafeBridge.cxx
@@ -57,7 +57,7 @@ public:
virtual void v_enter(void);
virtual void v_leave(void);
- virtual int v_isValid(rtl::OUString * pReason);
+ virtual bool v_isValid(rtl::OUString * pReason);
};
UnsafeBridge::UnsafeBridge(void)
@@ -117,9 +117,9 @@ void UnsafeBridge::v_leave(void)
m_mutex.release();
}
-int UnsafeBridge::v_isValid(rtl::OUString * pReason)
+bool UnsafeBridge::v_isValid(rtl::OUString * pReason)
{
- int result = m_count > 0;
+ bool result = m_count > 0;
if (!result)
{
*pReason = rtl::OUString("not entered");