summaryrefslogtreecommitdiff
path: root/winaccessibility/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-12 08:37:56 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-13 10:10:42 +0200
commit544434c534e280ba7a13a5f9e9377ffebb7151fb (patch)
tree63d5c6d28462dd7a41b75dac8334b157f2e40c49 /winaccessibility/source
parente094863117887b38a379982ff08695acae8e0e15 (diff)
warning C4189: local variable is initialized but not referenced
Change-Id: I75092737f69b92bb46ea6bdd619aa54c759d8d65
Diffstat (limited to 'winaccessibility/source')
-rw-r--r--winaccessibility/source/service/AccObject.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx
index eb5bcb05ce87..4174e4925755 100644
--- a/winaccessibility/source/service/AccObject.cxx
+++ b/winaccessibility/source/service/AccObject.cxx
@@ -157,7 +157,7 @@ AccObject::AccObject(XAccessible* pAcc, AccObjectManagerAgent* pAgent,
m_bShouldDestroy(sal_False),
m_xAccRef( pAcc )
{
- sal_Bool bRet = ImplInitializeCreateObj();
+ ImplInitializeCreateObj();
m_xAccContextRef = m_xAccRef->getAccessibleContext();
m_xAccActionRef = Reference< XAccessibleAction > (m_xAccContextRef,UNO_QUERY);
@@ -245,13 +245,11 @@ void AccObject::UpdateValidWindow()
* @param
* @return If the method is correctly processed.
*/
-sal_Bool AccObject::ImplInitializeCreateObj()
+void AccObject::ImplInitializeCreateObj()
{
m_pIMAcc = UAccCOMCreateInstance();
assert(m_pIMAcc);
-
- return m_pIMAcc != 0;
}
/**