From 81cb6a7fbc315d3287e7a485b73a1b66dd4478ef Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 10 Jan 2014 11:14:44 +0100 Subject: [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 --- cppuhelper/test/bootstrap/TestEnv.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cppuhelper/test') 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"); -- cgit