diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 11:14:44 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:11:43 +0100 |
commit | 81cb6a7fbc315d3287e7a485b73a1b66dd4478ef (patch) | |
tree | d25c4a3e8356f41b6e41b043d7e3511b04635b14 /cppu/source/LogBridge | |
parent | 8471b35688d82181e8cd68095fb98d16d3cd7784 (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/LogBridge')
-rw-r--r-- | cppu/source/LogBridge/LogBridge.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cppu/source/LogBridge/LogBridge.cxx b/cppu/source/LogBridge/LogBridge.cxx index f6be81dec24d..0de1ee5e6fd5 100644 --- a/cppu/source/LogBridge/LogBridge.cxx +++ b/cppu/source/LogBridge/LogBridge.cxx @@ -50,7 +50,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); }; LogBridge::LogBridge(void) @@ -107,9 +107,9 @@ void LogBridge::v_leave(void) m_mutex.release(); } -int LogBridge::v_isValid(rtl::OUString * pReason) +bool LogBridge::v_isValid(rtl::OUString * pReason) { - int result = m_count > 0; + bool result = m_count > 0; if (!result) { *pReason = rtl::OUString("not entered"); |