diff options
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"); |