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 /cppuhelper/test | |
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 'cppuhelper/test')
-rw-r--r-- | cppuhelper/test/bootstrap/TestEnv.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cppuhelper/test/bootstrap/TestEnv.cxx b/cppuhelper/test/bootstrap/TestEnv.cxx index 1a0d4065ea2c..2ea3594257ec 100644 --- a/cppuhelper/test/bootstrap/TestEnv.cxx +++ b/cppuhelper/test/bootstrap/TestEnv.cxx @@ -52,7 +52,7 @@ protected: virtual void v_callInto_v(uno_EnvCallee * pCallee, va_list * pParam); virtual void v_callOut_v (uno_EnvCallee * pCallee, va_list * pParam); - virtual int v_isValid (rtl::OUString * pReason); + virtual bool v_isValid (rtl::OUString * pReason); }; TestEnv::TestEnv() @@ -91,9 +91,9 @@ void TestEnv::v_leave(void) -- m_inCount; } -int TestEnv::v_isValid(rtl::OUString * pReason) +bool TestEnv::v_isValid(rtl::OUString * pReason) { - int result = m_inCount & 1; + bool result = m_inCount & 1; if (result) *pReason = rtl::OUString("OK"); |