summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cppuhelper/source/weak.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx
index 661c687e8425..ee6c09748e8b 100644
--- a/cppuhelper/source/weak.cxx
+++ b/cppuhelper/source/weak.cxx
@@ -142,11 +142,11 @@ Reference< XInterface > SAL_CALL OWeakConnectionPoint::queryAdapted() throw(css:
guard.clear();
// WeakObject has a (XInterface *) cast operator
ret = *m_pObject;
- n = osl_atomic_decrement( &m_pObject->m_refCount );
+ osl_atomic_decrement( &m_pObject->m_refCount );
}
else
// Another thread wait in the dispose method at the guard
- n = osl_atomic_decrement( &m_pObject->m_refCount );
+ osl_atomic_decrement( &m_pObject->m_refCount );
}
return ret;