summaryrefslogtreecommitdiff
path: root/cppu/source/helper
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/helper
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/helper')
-rw-r--r--cppu/source/helper/purpenv/helper_purpenv_Environment.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/helper/purpenv/helper_purpenv_Environment.cxx b/cppu/source/helper/purpenv/helper_purpenv_Environment.cxx
index 15946d7558de..48d5dabe899b 100644
--- a/cppu/source/helper/purpenv/helper_purpenv_Environment.cxx
+++ b/cppu/source/helper/purpenv/helper_purpenv_Environment.cxx
@@ -103,7 +103,7 @@ public:
virtual void v_leave (void);
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);
protected:
oslInterlockedCount m_nRef;
@@ -512,7 +512,7 @@ void Base::v_callOut_v(uno_EnvCallee * pCallee, va_list * pParam)
m_pEnterable->callOut_v(pCallee, pParam);
}
-int Base::v_isValid(rtl::OUString * pReason)
+bool Base::v_isValid(rtl::OUString * pReason)
{
return m_pEnterable->isValid(pReason);
}